first round at browserify support

Work in progress.

- [ ] Write the documentation on how to use this with browserify, including production builds
- [ ] Include the prod build and min build
- [ ] Get the tests running (think there may be some es5 requirements from browserify, but haven't had time to check. PhantomJS y u no print global errors?)