General fixes

+ Added `main`, `style`, and `repository` entries to `package.json`
+ Added UMD wrapper to support different module definitions (AMD, CommonJS, etc)