Changed EventEmitter inheritens to Node0.10 style.

This fixes #110, #112