Support appstream files in addition to appdata

appdata-tools is dead, and applications should port to appstream-glib,
which subtly changes its macros.