Add support for aggregation queries as defined in the OData aggregation spec.