Add new DQM packages and improve tests.

- Test consistency of CMSSW_CATEGORIES.