Grunt hack

Some errors fixed:

Due to grunt incompatibilities, when a tests fails in grunt-simplemocha, the entire suit fails. Changed to grunt-mocha-hack.
Grunt might be overriding NODE_TLS_REJECT_UNAUTHORIZED = true, resetting the environment variable.