`npm test` for Windows, and update mocha for --ignore-leaks option

I tweaked the `Makefile` for better `npm test` Windows support.

mocha was complaining `unknown option `--ignore-leaks'`, was able to fix by updating the mocha version in `package.json` to `1.8.x`.