Add support for groupby in the query
Make getTotalRecords compatible with groupBy in the DQL
Merge pull request #36 from StephaneBakhos/master

Added support for groupBy