Settings: Added choice of 45 seconds for screen timeout, lock screen and dream.

Change-Id: I58cb14776fe9d447b79faf810d7f6142bc058341
Fix NPE in Settings -> Language & input -> Default -> Setup input methods

If the InputMethodAndLanguageSettings fragment is launched in IME-only
mode, it removes most preferences, so we need to null-check them before
use.

Change-Id: Ifcd1358bdee69d06877510e0eafe88aa43021780
Merge "Settings: Added choice of 45 seconds for screen timeout, lock screen and dream." into android-4.4
Merge remote-tracking branch 'omni/android-4.4' into android-4.4