Bug 966172 - [Keyboard] Resolve key presses immediately if MozKeyboard.sendKey() doesn't return a promise. r=rudyl