Debug tests

Add node-inspector dependency, and an argument for running in debug mode for specs script.

Currently the debug version of the specs can be run with `npm run-script debug`, as we can't pass arguments to `npm run-script`/`npm test` due to https://github.com/isaacs/npm/issues/3494.