Add facets support.

You can now set elasticsearch facets via domain config, eg:

{
    'datasource': {
        'facets': {
            'provider': {'terms': {'field': 'provider'}},
            'urgency': {'terms': {'field': 'urgency'}},
        }
    }
}

And it will be delivered as part of the response in _facets field.