Fixing RedHat init script

* Fixing the exit code for the status check.
* Adding sleep before pgrep for pid, in some cases process does not show
* up too fast.
* Replacing $DAEMON by $JAVA
Merge pull request #26 from fsalum/master

Fixing RedHat init script (PIDFILE and status)