Bug 932257 - [keyboard] previous InputMethod will not disappear while switching different keyboard app and input type
 --- while switching different inputType call resetShowingKeyboard first
 --- add unit test for switching different inputType
Merge pull request #13179 from mpizza/Bug_932257_keyboard_not_hidden

Bug 932257 - [keyboard] previous InputMethod will not disappear while sw...  r=rudyl.