Allow ElasticSearch to be configured via env variables

We now support `ES_HOST` and `ES_INDEX` environment variables.