Fixed init script for Ubuntu 13.10

In Ubuntu 13.10 they changed /lib/lsb/init-functions making /full/path/to/executable as required parameter of pidofproc. As result this init script stopped working for Ubuntu 13.10. Why did they do that? I suppose because man page for pidofproc specifies this parameter as required. Will my change affect existing distributions? I've checked init-functions for Debian Wheezy and Ubuntu 12.04, they silently ignore all parameters except pidfile. Why path to executable is java, why not $JBOSS_SCRIPT? Because man page for pidofproc says that pid should correspond to executable, and pid corresponds to java process. Although current implementation in Ubuntu 13.10 doesn't check it (indeed any additional parameter would resolve this issue). Testing done: Manually checked that after modification the init script can start and stop service in Debian Wheezy, Ubuntu 12.04, 13.10 and there're no pending abandoned wildfly processes.