[Heavily untested] EventEmitter/Stream implementation.

Needs at least some bare-bones testing before I release this.

Refs #82.