Added ability to specify default behaviors for custom events.

Adds the ability to specify a default behavior to be executed after all event listeners are called. Default behavior can be prevented by any listener by a listener calling preventDefault().