Mostly done. Doesn't quite work yet.

:warning: WIP :warning:

Moving to browserify gives us a lot for free, including Node style event emitters out of the box.