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.
Line is too long. [121/80]<br>Perceived complexity for generate_widths is too high. [8/7]<br>Never put a space between a method name and the opening parenthesis.