Provide `isDefaultPrevented()` & related methods for all events

Previously, these methods were only available in event delegation handlers:
- isDefaultPrevented
- isPropagationStopped
- isImmediatePropagationStopped

For compatibility with jQuery and for avoiding cross-browser differences,
now every event is extended with these methods before it's passed to an
event handler.

Alt. for #864