Add admin capability for categories

Add admin section to user show page.
Add category index page.
Refactor the finding of active category types and the auto-generation of column widths into reusable modules.
Extra empty line detected at body beginning.