Browserify

A somewhat sloppy journey from straight concat and the `irc` global to browserify/CommonJS modules. This should ultimately make it easier to test and add new functionality in the future.