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.(cherry picked from commit 8eec8e331ec58e0a1b3d0b926d0aaa0d0b50f477)

Conflicts:
	apps/keyboard/js/keyboard.js
	apps/keyboard/js/layout.js
	apps/settings/index.html
	apps/settings/style/simcard.css
	apps/system/index.html
	apps/system/js/simcard_dialog.js
	test_apps/uitest/tests/inputmode.html
	test_apps/uitest/tests/keyboard.html