Add trends, other global goodies

This turned into a bit larger of a pull request than I'd hoped because there's a few infrastructure pieces (layout, real tests) that got bundled in here. 

TODO:
- [x] Test the function that spits back counts
- [x] High-level end-to-end testing (not sure of what form)
- [x] Make sure the address page 404s rather than erroring if there is none
- [x] PEP8-ify everything
I'd do business_licenses, but due to a lack of foresight, the data's already being put into a table called all_business_licenses, so this is matching that for now...