Bug 869879 - enable keyboard app to show pinLayout when type=password
1. Enable both numeric and digit inputmode for Keyboard.
2. Also fix an issue that renderKeyboard after IME activation, so that
the suggestion/capitalization status could be reflected correctly.
3. Modify settings/system/ftu app to use the new input, type=password, inputmode=digit
Merge pull request #9859 from RudyLu/settings/Bug869879-input_password_pincode

Bug 869879 - enable keyboard app to show pinLayout when type=password. r=djf, Arthur, fcampo.