Added Elasticsearch server config, helper function

Added a config option for the host/port of the Elasticsearch server
as well as a helper function to quickly read this value.