Status bar brightness control

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Change-Id: I8c814003edfb204bfa4d1c8961f3f4d53bfbc1bd
Status bar brightness control improvements

- Fix status bar brightness control when on secure lock screen.
- Prevent brightness changes after notifications panel has been opened.
- Don't adjust brightness for swipes <45° from vertical.
- Stop using a VelocityTracker

reference:
https://github.com/CyanogenMod/android_frameworks_base/commit/71c97740b5404b3c0be89454e55a69c1ca8655ec
https://github.com/CyanogenMod/android_frameworks_base/commit/212c63a250b81676a89f9de145cf4f1b378b43fb

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Change-Id: Iac4847436abf5ea13459c76aa40db3f01190aff1