Bug 1034210 - send correct keycode for non-latin IME.
Merge pull request #21602 from RudyLu/keyboard/Bug1034210_commit

Bug 1034210 - send correct keycode for non-latin IME.
r=timdream.
Bug 1021505 - Modify Pinyin keybaord to new UX