update to node v0.11.x readline.js logic

Also just various cleanup and adding comments where appropriate.
don't augment the global `EventEmitter.listenerCount` property
v0.2.0