Display deeply nested categories

The "Browse categories" section was limited to two levels of
inheritance. Fixing this and keeping the iterative nature of the
template tag required rewriting it, borrowing heavily from treebeards
get_annotated_list method.