XD-201

Fix xd-singlenode scripts
  Made the script to use APP_HOME so that script can be run relatively
  Fixed .bat file by specifying commandline argument directly at the java invocation