fixed missing default values
added css class to category selector
fixed legacy docblocks
Merge pull request #1195 from rojblake/categories_fixes

Several categories and *Util class fixes, added css class support to category selector