`npm test` for Windows, and updated mocha for --ignore-leaks

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