codeintel: apicatalogs: use xpcom categories to define the catalogs
* this avoids having to check every extension for catalog directories