Framework: Port CM9 features to CM10

This commit includes:
 - Power menu Reboot
 - Power menu screenshot
 - Profiles
 - Lock screen Calendar
 - Lock screen Weather
 - Notification light customization
 - Battery light customization
 - IME Selector notification toggle
 - and a few more things to support Settings

Change-Id: Ibd63116df90b06f6ce6adb8a0343059bbb999bfb

Conflicts:
	core/java/android/app/ContextImpl.java
	core/java/android/app/Notification.java
	core/java/android/preference/VolumePreference.java
	core/java/android/provider/Settings.java
	core/java/android/view/WindowManagerPolicy.java
	core/java/com/android/internal/widget/LockPatternUtils.java
	core/res/res/layout-sw600dp/keyguard_screen_status_land.xml
	core/res/res/layout-sw600dp/keyguard_screen_status_port.xml
	core/res/res/layout/keyguard_screen_tab_unlock.xml
	core/res/res/layout/keyguard_screen_tab_unlock_land.xml
	core/res/res/values/arrays.xml
	core/res/res/values/config.xml
	core/res/res/values/public.xml
	media/java/android/media/RingtoneManager.java
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	policy/src/com/android/internal/policy/impl/keyguard_obsolete/KeyguardStatusViewManager.java
	policy/src/com/android/internal/policy/impl/keyguard_obsolete/KeyguardViewMediator.java
	services/java/com/android/server/BatteryService.java
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/VibratorService.java
	services/java/com/android/server/wm/WindowManagerService.java

Conflicts:
	core/java/android/provider/Settings.java
	core/java/android/view/VolumePanel.java
	core/res/res/values/config.xml
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	services/java/com/android/server/BatteryService.java
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/VibratorService.java
	services/java/com/android/server/power/ShutdownThread.java
	services/java/com/android/server/wm/WindowManagerService.java