Correctly inherit from EventEmitter
Merge pull request #26 from inolen/master

Use util.inherit for EventEmitter inheritance