Added EventEmitter

Now #setElement(), #delegateDomEvents, #undelegateDomEvents()
and #destroy() will emit