Revert "Framework: Forward port Power menu reboot by DvTonder"

This reverts commit be83fa141e9b343d9770fe9f31a3589ef3483568.
power menu: reboot and screenshot

Conflicts:
	core/java/android/view/WindowManagerPolicy.java
	core/res/res/values/symbols.xml
	services/java/com/android/server/wm/WindowManagerService.java

Conflicts:
	core/res/res/values-mcc214-mnc05/config.xml
	core/res/res/values/psx_strings.xml
	packages/Keyguard/res/values-sw540dp-port/dimens.xml
[2/2] Add support for custom LED colors notification

Originally from dvtonder (CyanogenMod)

Change-Id: Iab519a757220c444f166b8a05246c7ca71b897d8

Conflicts:
	core/res/res/values/config.xml
	media/java/android/media/MediaRouterClientState.aidl
fb: Quit hours 1/2 thanks cm

and added multiuser support

Change-Id: I38e8560297099629aed94ee001da7f1ebaa04dac

Conflicts:
	core/java/android/provider/Settings.java
fb: small observer multiuser correction on notificationlight

Change-Id: I3bbe4c772f801e3edfc97f9e17000b03c861dd1f
fb: less notifications sound (1/2)

add back the 4.3 feature like it was.
User can setup how often notification sound
for an app comes trough so that
it does not annoy to much

Change-Id: I3d7b2ef2e2ff99b7c23880626e0268ec4c5d8543

Conflicts:
	core/java/android/provider/Settings.java
Frameworks: Quiet Hours Change Logic (1/2)

12:00am - 12:00am = 24 hours
	(Or any "==" time)

This makes more sense for the user
	if they have the direct ability
	to toggle quiet hours.
	The feature should work as-is
	and in a 24-hour on/off manner
	through using the toggle.

Change-Id: Ib10ab5c1ac9278ab1f195d48f88de7357722979c
fb: refactor QuietHours code

thanks to ivisiblk for the idea

Change-Id: I56e2b4a1945a4b93251b9937b701c86168b732b4
Framework: Fix QuietHours Vibrate

Change-Id: I92ee73ca53c2d68e7a5fe18e630142ab44672f49
BatteryService: fix FC on boot until battery stat is present

updateLightsLocked() can be called from CM's added SettingsObserver
when battery stat is not present, causing an FC and a loop until
battery stat is present.

I/SystemServer(  502): Battery Service
E/System  (  502): ******************************************
E/System  (  502): ************ Failure starting core service
E/System  (  502): java.lang.NullPointerException
E/System  (  502): 	at com.android.server.BatteryService$Led.updateLightsLocked(BatteryService.java:735)
E/System  (  502): 	at com.android.server.BatteryService.updateLedPulse(BatteryService.java:709)
E/System  (  502): 	at com.android.server.BatteryService.access$1600(BatteryService.java:86)
E/System  (  502): 	at com.android.server.BatteryService$SettingsObserver.update(BatteryService.java:860)
E/System  (  502): 	at com.android.server.BatteryService$SettingsObserver.observe(BatteryService.java:822)
E/System  (  502): 	at com.android.server.BatteryService.<init>(BatteryService.java:187)
E/System  (  502): 	at com.android.server.ServerThread.initAndLoop(SystemServer.java:328)
E/System  (  502): 	at com.android.server.SystemServer.main(SystemServer.java:1309)
E/System  (  502): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/System  (  502): 	at java.lang.reflect.Method.invoke(Method.java:515)
E/System  (  502): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
E/System  (  502): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/System  (  502): 	at dalvik.system.NativeStart.main(Native Method)

Change-Id: Ic4438fe50e98f1aa05ae1d0d26240bf9410fd92f
Fixes for some derps