Add equals/hashcode for AggregateQueryImpl
Merge pull request #1873 from dennishendriksen/master

Add equals/hashcode for AggregateQueryImpl