Use util.inherit for EventEmitter inheritance

I saw there was already an issue regarding this but I wanted to submit a pr to fix it.

To read more about the problem, please see:
https://github.com/joyent/node/wiki/Api-changes-between-v0.8-and-v0.10