Add language number back to the billing records

Moved code to generate the data for the CSV file to its own class.
It's starting to get a little complicated now.

Started new test class that uses factory functions instead of
fixtures.
Merge pull request #810 from pculture/billingcounts

Add language number back to the billing records
Test fix that I meant to commit on the billing count branch