Add CommonJS module declaration, fixes #58
Merge pull request #59 from nnarhinen/feature/commonjs

Add CommonJS module declaration, fixes #58