Link through from all reports page to sub categories

Add a type parameter to the /reports/body page to restrict list by
problem category.
Only link to report categories that have entries.

Fixes #798