Enumerate the fields allowed by the terms aggregation

Previously, all field types were allowed in the terms aggregation type. This change limits the field types to those which don't cause things to explode (specifically, `geo_point`, `geo_shape`, etc.)

Closes #2067.