Replaces direct access to node and v8 APIs by their nan equivalents. This way the module compiles cleanly against both older versions of v8 and the ones used in node 0.12 and io.js. It also changes the `package.json` to specify a `test` script. This way `npm i && npm t` work for this project which simplifies CI integration. See: https://github.com/rvagg/nan
…d option to reject unauthorized TLS connections. Less verbose tests.