allow overriding of reduce & group
Merge pull request #69 from dimagi/override

allow overriding of reduce & group