Framework: Add Advanced reboot (2 of 2)

This commit responds to a setting in Development settings for including
options in the power menu for rebooting into recovery or bootloader. It
is defauled to off.

When enabled, the Advanced reboot options will only be available once the
device is unlocked.

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/power/ShutdownThread.java

Change-Id: I675f31de1f82c344c7923e953fd4a6e26dd036da
PowerManager: Don't wake up device when charger is plugged/unplugged (1/2)

This will add the option to disable waking up the device when a charger
is plugged or unplugged.

Change-Id: I3367041a05931510f367dafe412b173c80b89df1
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
fb: add back all keyboard IME features back (1/2)

this commit adds:

- ime switcher notification - thanks cm
- slims fullscreen disable on landscape
- slims force autorotation on IME
- volume button control for navigate in the message - thanks cm
- slims force to show always enter key

some fixes to the 4.2/4.3 implementations + added full multiuser
support for all this features

cheers

Change-Id: I71e93c39620cc171e658b2d7e26491bac97c651d
Signed-off-by: STELIX <ssspinni@gmail.com>
fb: add volume rocker control (wake up) (1/2)

Change-Id: I60f5f88e32a129afda80f5b0f4f41cb0a322b691
Signed-off-by: STELIX <ssspinni@gmail.com>
Framework: Configurable 0, 90, 180 and 270 degree rotation (1/2)

thanks cm

Change-Id: Ie950679d3515234ab30e6da04cba2659c463425d
Signed-off-by: STELIX <ssspinni@gmail.com>