Extract tag_cloud generation into its own method

The `generate_context` method is getting kind of long... starting to strip it down by moving some of the logic into their own methods.  The `tag_cloud` stuff is pretty self-contained.