Hide empty categories

Tweak the creation of the category tree to suppress creating items for
categories which contain no extensions.
Merge pull request #53 from mwoehlke-kitware/hide-empty-categories

Hide empty categories