Rework scripts to pass additional flags onto Karaf, fix Windows batch files (still see warning about 'Ignoring predefined value for KARAF_HOME' but that seems to be a bug in the Karaf batch file)