Got Elasticsearch utilities to work with config

I updated the utilites for rebuilding the Elasticsearch indexes, and
stress testing Elasticsearch, so they get the server IP/port from
the configuration file.