add warning when a package depends on a metapackage
escalate warnings for invalid package.xml files into exceptions (fix #4)