ISPN-3327 Fix the init.d script
- make all paths parametric
- run the server as root if no specific user has been specified
- use the JBOSS prefix for two of the env variables that need to be checked by standalone.sh (to avoid too much divergence)