Fix Report#daily @total_hours calculation

Fixes Fix total team hours for daily report #7
We've really got to clean up this code. It's nice and pretty but it's not really readable. Perhaps even extract the calculation to a class of some sort. That would make it fairly straightforward to test as well.