Fix the EventEmitter inheritance

For more information:

  https://github.com/Wolfy87/EventEmitter/wiki
  https://github.com/Wolfy87/EventEmitter/issues/25
Merge pull request #7 from tOkeshu/fix/event-emitter

Fix the EventEmitter inheritance