patch elastic search init.d

This is not a particularly proper patch but it took two changes to make an init script that worked for my system (running ES 0.90.8 on the Amazon Linux AMI) where I did NOT use the rpm stuff but rather installed the 0.90.8 tgz in /elasticsearch/elasticsearch

I had to remove the -d option passed to elastic search (it could be that this wasn't in the prior version but I didn't check) and two I had to change the hard-coded path to the executable.  Probably we can get this using the ES_HOME path,  which would give a more durable patch.

Note I had to set some paths in /etc/sysconfig/elasticsearch,

ES_HOME=/elasticsearch/elasticsearch
LOG_DIR=/elasticsearch/data
DATA_DIR=/elasticsearch/logs
WORK_DIR=/tmp/elasticsearch
CONF_DIR=/elasticsearch/config
CONF_FILE=$CONF_DIR/elasticsearch.yml

and I had to make a /var/run/elasticsearch directory and chmod it appropriately,  probably something the rpm install does