Polish up tag cloud view

Move the font calculation out of the view itself into a helper, and put
the part of the calculation that relies on min and divisor from the
cloud into the cloud itself.