Not show favorites table if no favorites

This fixes #1061 since tablesorter barfs on empty tables. I also think the page
looks nicer without the header row showing up with no data.