Port "Option to control cursor in text fields using volume keys (2/2)"

Change-Id: I577e2d200c9da9d86db4f4892a60851978c9509e

Conflicts:
	res/values/custom_strings.xml
Settings: add a custom settings screen

Thanks to Alexander Westphal (blazze11) for the icons
Settings: add status bar brightness setting

Conflicts:
	res/values/cm_strings.xml
	res/values/custom_strings.xml
Settings: add status bar battery percent option
Settings: add options to show/hide lockscreen carrier label
Settings: add double-tap to sleep
[2/2] Settings: Hide power menu on lockscreen

also add buttons screen

Conflicts:
	res/xml/button_settings.xml
	src/com/android/settings/ButtonSettings.java
Move power button ends call to button settings

Conflicts:
	src/com/android/settings/ButtonSettings.java
Settings: Add Superuser entry

Squashed commit of the following:

Author: Koushik Dutta <koushd@gmail.com>
Switch to new Superuser
Change-Id: I9d91392ad6fbc9953d19059ab59b91d214c00e0c

Author: Danny Baumann <dannybaumann@web.de>
Hide Superuser entry if root access for apps is disabled.
Change-Id: Ibb77ba5a0fccf22564a26b8b1e13f7762c65718e

Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Development: Root for apps is unavailable if the su daemon isn't running

The superuser options are tied to the Superuser app variant we use,
which in turn is tied to the su daemon. No daemon, no menu options.
Change-Id: I41d58e62986759336ab38e67f26a558c2eed5aa3

Change-Id: I9d91392ad6fbc9953d19059ab59b91d214c00e0c

Conflicts:
	Android.mk
	AndroidManifest.xml

Conflicts:
	Android.mk
Backport Launch SuperSU from Settings

If SuperSU is installed, show an entry in Settings below
"Developer options", which launches SuperSU when tapped.
At boot time SuperSU will detect if com.android.settings
contains the resources from this patch, and if so it
will hide itself from the launcher. This was implemented
in v1.85, so we only show the entry if the installed
SuperSU version is at least that.

Change-Id: I1796d92458587b9e961d5d8e6d58099e8367834d

Conflicts:
	res/values/strings.xml
	src/com/android/settings/SettingsActivity.java
Hide SuperUser if SupenSU is installed

Conflicts:
	src/com/android/settings/SettingsActivity.java
Settings: add quick-quick settings pulldown setting

Change-Id: I986ea9d5e7037e58b1d185aba3daaa8fa7f6a9a7
Signed-off-by: Roman Birg <roman@cyngn.com>
Light settings: reduce tone if preview image color is very light

Prevents material whiteout in color preview.

Change-Id: Idfa47e57bdb669b17b610b737d0fe2c942b47d78