added ErrorEvent WebIDL and errorevent.rs
auto merge of #4230 : jdm/servo/errorreporter, r=jdm

Rebased from #3822.