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
Merge "InputMethodService: Auto Keyboard Rotation (1/2)" into jb4.2