Cleanup and nodeify

* Adds node.js entry point so this can be required in a node app
    without breaking
* Changes references to navigator to window.navigator (needed for
    node-webkit)
* Added standard pre-commit hook checks
* Run fixpack on package.json
0.7.2