Put the row building logic in its own method
Clean up status page stuff (and add extra counts)
Refactor CSV caching
Merge pull request #580 from theodi/feature-refactor-summary-data

Refactor a few things