Added support for CommonJS modules as described in http://dontkry.com/posts/code/browserify-and-the-universal-module-definition.html
Merge pull request #236 from beloglazov/master

Added a CommonJS module declaration