Major refactoring of report.py, no functionality changes.
Merge branch 'master' of https://github.com/wykurz/expenses

Initial merge.