Base: Improve QuickSettings and bugfix

since im going to rewrite the QS but need more time, so i upload another commit
to fix some bugs and also improve the QS :)

based from
https://gerrit.paranoidandroid.co/#/c/3569/ and https://gerrit.paranoidandroid.co/#/c/3594/
thanks @BigBrother1984

slimroms patch (forgot the commit xD)
thanks @kufikugel

and small changes in our QS implementation

fix http://jira.omnirom.org/browse/OMNI-515
fix http://jira.omnirom.org/browse/OMNI-568
fix http://jira.omnirom.org/browse/OMNI-569

merged https://gerrit.omnirom.org/#/c/5164/
       https://gerrit.omnirom.org/#/c/5163/
into this since this commit now works :)

add longpress SleepTile toggle powermenu
fix bluetooth icon back tile
fix sleeptimeout mode
make sure invalidate all tiles views are called
remove unneeded animation listener (thanks @BigBrother1984)
fix Tiles background color
only auto arrange if dynamic mode enable on landscape

Change-Id: I0445e2018b1d0e4242850c7989b4285a3a7114c7
[1/2] Base: ActiveDisplay (rework interface)

really fix AD buggy stuff
tested with Music play
tested with No lockscreen
tested with faster screen turn off
check all sensor going off if AD not Showing or Disabled
fix notification posted/removed
make AD using System Window so it will covered all screen
fix Navbar translucent if Lockscreen Blur merged :P
now using Rounded Image
also introduce new RoundedImageView widget
 courtesy of @vinc3m1 (thanks)
fix build
fix sometimes screen turn off after unlock because screen timeout (hopefully)
now using new parser to get Notification data (thanks @Achep for the parser)
rework lightsensor manager
add NotificationUtils
fix brightness sometimes not changing

add support applications privacy mode (will not show content message if enable on each app)
see http://jira.omnirom.org/browse/OMNI-600

allow bypass AD if no notification and lockscreen is secure
see http://jira.omnirom.org/browse/OMNI-594

fix proximity always enable after adding new feature allow bypass AD
fix parsing notification data from app with targetSDK < 17

fix excluded app value (no body notice this broken since AD merged into OmniRom xD )

add option to allow bypass AD
make AD multiuser support

Conflicts:
	packages/SystemUI/res/values/custom_dimens.xml
	packages/SystemUI/res/values/custom_styles.xml

Change-Id: I1fc3047496cce71cefc1718b8ef3f4c4fc1605eb
Merge "[1/2] Base: ActiveDisplay (rework interface)" into android-4.4
Base: fix ClockView ActiveDisplay

why no body report this bug?

this happen since AD merger into omnirom for the first time
i found this bug after using 24 time format LOL

Change-Id: I85be84914cc8210d9b0612994a4c25a5c6bfdeb6
ActiveDisplay: Fix for flo and other devices

The changes made to layout/active_display_content.xml were not
made to its layout-land and layout-sw600dp counterparts

Make them here too to stop flo from crashlooping in systemui.

These values may need to be tweaked later, but preventing crashloops
is top priority.

Change-Id: If137eaabad735539cc9d50c107a1733bef71538d
Base: Factor out preference-in-storage check to overridable method.

taken from
https://github.com/CyanogenMod/android_frameworks_base/commit/e262881de4fd813bf876ff0b3f2a476d30a1b74d

need by
https://gerrit.omnirom.org/#/c/5759/

Change-Id: I64966e15e0e92a2058809ead2c694a9badae881b
Merge branch 'android-4.4' of github.com:omnirom/android_frameworks_base into android-4.4

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