Fix to rollups

- Add more tests.
- Fix bug in cumulative daily rollups
- Fix bug in daily rollups.
Add repl methods and a job to recalculate data.
Improvements suggested by @otfrom
Merge pull request #195 from MastodonC/feature/calc-failures

Calculation Failure Investigation