Refactor category.php; statistics support

Category.php is refactored.  The clues now display the number
of right answers, wrong answers, clams, and (if nonzero)
ungraded responses.