Sending key events through script task before processing them in the compositor.

Fixes #4163
auto merge of #4347 : negge/servo/backspace4, r=jdm

...positor.

Fixes #4163