Add Event bindings and support for WebIDL dictionaries