Added ErrorEvent WebIDL and errorevent.rs.
auto merge of #4180 : jdm/servo/errorevent, r=jdm

Rebased from #3822.