Add EventEmitter stolen from dart_mv.