Update test
locate_metadata: Use new repomd parser
xml_parser: Add suport for warnings about weird stuff in xml
Move library initialization up