Support for aggregates (metagroup+group_by).
Merge pull request #14 from orviz/add_aggregate

Support for aggregates (metagroup+group_by).