created to_xml template file, renamed initial-data to initial_data because of import problem, merged inspiremetadata types and schemata to lib/metadata/types and schemata