Use browserify and minor changes.

This modifies your project to use browserify and be published to NPM. It also
includes some minor improvements and test fixes.

I'd understand if you declined this PR, but I'd hope you considered supporting a
CommonJS module published to NPM. I had to included the `dist` folder since I
couldn't something like npm's `prepublish` script functionality in bower, but
I'll be happy to remove it if you think that's a better approach.

:)