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

(integrated from trunk branch change ca7a449 by Todd Whiteman <toddw@activestate.com>)