Better detection of node.js

Better detection of node.js (based on how Underscore does it)
When running on Mocha and CoffeeScript, it wasn't detecting it was running on node.js
Merge pull request #71 from eXon/master

Better detection of node.js