parser xml CHANGE non-xml specific functions made separate

So that they can be used in other parsers and
even API functions. Some general refactoring included.
diff --git a/src/tree_schema_internal.h b/src/tree_schema_internal.h
index 39abb35..25772e0 100644
--- a/src/tree_schema_internal.h
+++ b/src/tree_schema_internal.h
@@ -891,6 +891,6 @@
  * In case the @p buffer is NULL, the returned string is dynamically allocated and caller is responsible to free it.
  */
 char *lysc_path_until(const struct lysc_node *node, const struct lysc_node *parent, LYSC_PATH_TYPE pathtype, char *buffer,
-                size_t buflen);
+                      size_t buflen);
 
 #endif /* LY_TREE_SCHEMA_INTERNAL_H_ */