trivial: Warn when discarding addons because of API version

This would have saved a lot of head-scratching this morning...
Add some validation rules for metainfo files