added emulated event emitter/handler adapter (applies event handling and emitting prototypes to objects)