Lots of fixes.

Change-Id: Ia1fc8a6d4bc725d85070b299469dd877eff3b7c2
Signed-off-by: PipelinerArd <kristoferard@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/FlashlightButton.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/KeyguardViewManager.java