Fix most defaultPrevented test failures (#2172)
auto merge of #2175 : Manishearth/servo/domtests-createevent, r=Ms2ger

#2172

All subtests of `dom/events/Event-defaultPrevented.html` pass now.

CustomEvent has yet to be implemented.(#2173)