Make Event::new take enumerated values instead of booleans (fixes #3643)
auto merge of #3651 : ttaubert/servo/issue/3643-event-new-enums, r=Manishearth

r? @jdm