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.

:)

@eventualbuddha the problem was that I was looking at a newer version of karma, which for some reason doesn't specify the `bin` property in `package.json`. The older version did.