Show total given/received on History page. fixes #2930
compute the totals in the python code
replace the multicolumn index by multiple indexes
fix tests
Add test for totals
Merge pull request #3040 from gratipay/show-total-stats

Show total given/received on History page. fixes #2930