Exports for Node.js and Browserify

Has with backwards-compatibility for the old `require()` API. If we're in the browser, export as a standard global object.
Merge pull request #67 from VictorSigma/patch-1

Exports for Node.js and Browserify