Add support for validating metainfo.xml files