Event delegation support on EventTarget

Base implementation is wired for custom events, filtered with a function.

Next up, DOM event implementation.