Query can specify which fields can have sub aggregations (aggsBy array)
Merge pull request #135 from obiba/sub-aggregations

Query can specify which fields can have sub aggregations (aggsBy array)