fixed init script and added ability to configure java heap size
Merge pull request #8 from andral/master

Fixed init script and added ability to configure java heap size