SystemUI: Add double tap to sleep gesture

Change-Id: I4c54718e8ec8774677d13917b3a7ffa3b4b18cb5
Introducing the PreferenceDrawerActivity which makes use of the new navigation drawer UI google has introduced in updates to many of their apps.  This relies on headers which are displayed in the drawer and preference fragments as the main content.

Patch Set 2:
  Create drawable backgrounds for the drawer.

Patch Set 3:
  Only access the action bar if it is not null.  The setup wizard does
  not have an action bar and will cause settings to receive a NPE.

Change-Id: Ifddd889daaa5bdea01fef5c104536a0189ad93bf

Conflicts:
	core/res/res/values/attrs.xml
Use a dual pane layout instead of the navigation drawer for sw600dp screens or larger.

PS2: mActionBar should be assigned regardless of whether mDrawerLayout is null.

PS3: Use dual-pane layout when in landscape orientaiton.

Change-Id: If2c96cda691bab50ebd5d869f910a9351973367b
Close navigation drawer, if open, when back button pressed.

Change-Id: I6cb2fdc3e043028049c1f68843f0582a9b480c94
Add DrawerLayout and ViewDragHelper classes found in the new support library.  These classes have been modified to work with the current framework and no need for any support or compat classes.

Change-Id: Ib57f37fadd5c01efef3188b8e2b906444d870fbf
Frameworks: Advanced Power Menu

Change-Id: I1c9af874a340e4fccbef09a5879f0b718d6998dd

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values-mcc405/config.xml
	core/res/res/values/slim_strings.xml
	core/res/res/values/slim_symbols.xml
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