Get rid of endless pagination at statistics
Update rails to 4.0.12
Describe aggregated transactions model
Add service to aggregate transactions by period
Add task to aggregate all the data