[WIP] Add aggregates to search queries.

these really could just keep appending to a this._aggregates or this._qstring, since it doesn't support any kind of removal by agg type. And actually, order does become significant in the response, so users may prefer to have the results come back in the order they've added the agg to the builder.