Fixing stop case in init script, adding a PID file

Original approach seemed to assume that the processname would include
the node interpreter. This isn't the case anymore. Added a PID file
and used that to stop the process instead