Fix/improve npm test compatibility on windows

Add some changes to enable Windows users to run `npm start` and `npm test`.
(It still relies on `node` and `java` being available in the environment PATH.)
Why doesn't 'node node_modules/.bin/minijasminenode' work here? Shouldn't the 'node' command take care of this for us?