Add Statusbar Quick Peek [1/2]

Adds the ability to peek at the statusbar when hidden
by swiping down from the top edge of the screen.

PS 1/3 : Fixed Derp!
PS 4   : Added Fullscreen app support!
PS 5   : Added Pie Detection
PS 6   : Derp forgot the TOP Flag!
PS 7/9 : Some fixes

Change-Id: I4beda91e21518cd2fa391ff1b0fe23ea8e24370e
Frameworks: fix quick peek

only react on a real swipe to avoid accidental show up
on pressing an action on eg ActionBar

as well the pass trough of mPieTop never worked. Not the
problem due that pie is overlaying this part

reduce the settings value write a bit....we need to
be as fast as possible here due that this method is
called on every touch event

PatchSet: minor code correction

Change-Id: Iced268ad043b753d93375439d7835d8570b7649c
Statusbar behaviour: Refactor everything (1/2)

Huge credit to @Bajee11 as I used his previous commits as examples for these. And of course credit
goes to @SlimRoms for their Status bar Auto-Hide and Quick Peek features!

Change-Id: I40f2e60c138e303e677b8d313c1dfb42a78e4a2f
Allow ADB to be enabled by default via a config overlay on a per-device basis.
This is useful for developers that are testing and troubleshooting boot issues
and adb ends up being disabled by default once the system kicks in.  This should
only be used for testing and removed once a device is deemed stable and able to
boot.

Change-Id: Ib17d4e10ec68640ce55a91d5b1067d3d37eeec9d
framework: Add OnDoubleClickListener to View.

Simple Interface for allowing double click actions on
views. This piggybacks on the current performClick methods.
If a OnDoubleClickListener is set we will allow the double
click listener to handle the event. OnClickListeners will not
get callbacks.

Change-Id: I2244c3272029259e3904fe88011dfb8805dd674a
Fix build errors
When DPM is updated while lock screen is inhibited, don't
unconditionally enable lock screen.

Change-Id: Iab2af06eb8e41fbcfc6adfbeb5b42a9bbf446fe9
Keep on notification LED while dreaming.

Change-Id: I407e34f9c60d3140f78abca133b4fda5dd45f311
JIRA:CYAN-689
Send out USER_PRESENT broadcast on screen on if lockscreen is disabled.

This makes sure to turn off the notification LED on screen on when the
lockscreen is disabled by profile or e.g. by lockscreen toggle tile.

Change-Id: I0f6a5f9a021abd2799c22c744ab1180cee027409