Add the initial framework to query plugins for category data

This still needs wiring up to AppStream data, and some of the groups may have to
be renamed or removed.