Some more updates for the category page.

Some new category functions that test to see if a category has
children, also a new function to build a list of child links for the
category page.