.gitignore: ignore NPM cache
Refactoring: use CommonJS modules and browserify
.gitignore: ignore source maps
Build: browserify library and tests
Package: added NPM package manifest