Bug 1010025 - Add integration test to cover 3rd-party IME Switching.
 - Separate system app related part to lib/system.js
Merge pull request #19619 from RudyLu/keyboard/Bug1010025-IME_switching_test

Bug 1010025 - Add integration test to cover 3rd-party IME Switching.
r=evanxd.