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

In version `0.10.2` which is what we're using it does set the `"bin"` field correctly[1].

[1] - https://github.com/karma-runner/karma/blob/72835e6c66de5bbacc49ad3c50f7b06f99ab7808/package.json#L155-L157