InputMethodService: Auto Keyboard Rotation (1/2)

Force auto-rotate when keyboard is shown.
Configurable auto-rotate sensor timeout after keyboard is hidden.

Change-Id: I56bc333e91702a9227409e35fce28567c435d16c
Signed-off-by: scotthartbti <scott.hart.bti@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
Put long press to toggle PW back

jeff has plans to enhance this. So this can be merged for the
time being.

Change-Id: I75a7b0b4ed6b6c45cddeb6cf8fe4bc8d4aa6b2c2
QuickSettings flip button longpress PowerWidget toggle (1/2)

Also binds longpress Notification flip Button to QuickSettings config.

Patchset 2: Changed ListPreference to CheckBox, updated names.

Change-Id: If2b015beb8eafa286c5623d77681cc25dec517d8
Missed import from previous powerwidget/quicksettings
Signed-off-by: scotthartbti <scott.hart.bti@gmail.com>

Change-Id: I24388c20ee6a73d4dc5b60a70fb09798a4d9f4c0