Clean up aggregate, fix bugs
Clean up aggregate, fix bugs

Clean up some aggregation code that was mysteriously hanging in a Python 2 environment. Also use Query.search() inside Query.aggregate() instead of using the search_client directly.

materials-data-facility/forge