Move ES initialization into an initializer

* Set `elasticsearch_host` (can also be an array of hosts) and
  `elasticsearch_prefix` in app_config.yml.
* ES_CLIENT and ES_PREFIX are available anywhere in the code