function to support aggregating all results

also allow you to pass in a date_range to aggregation to override
what is set in the window. useful for debugging calculations
Merge pull request #70 from dimagi/aggregate-all

function to support aggregating all results