Add `off` method to event/target for compatibility with devtools.
Merge pull request #910 from Gozala/bug/event-target-off@856147

Bug 856147 - Add `off` method to event/target for compatibility with devtools. r=@gozala