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
I don't think this matches the behaviour of the calculation of this column. older is >4 weeks old, with an update in the past 8 weeks; old/unknown is no update in the past 8 weeks.