Do not crash when doing as_tag_from_string(NULL)
trivial: Add some asserts for as_node_insert()
trivial: Correctly guess the source kind for uncompressed YAML files
Do not write provides with an unknown kind
When validating AppStream files also validate the application objects