Ensuring automatic startup of elasticsearch

* Adding elasticsearch.conf file for creating pid file directory on startup with systemd
* If systemd is not available, chkconfig entry is added for automatic startup