Switch to new Superuser

Change-Id: I9d91392ad6fbc9953d19059ab59b91d214c00e0c

Conflicts:
	Android.mk
	proguard.flags

Conflicts:
	AndroidManifest.xml
Add preference for enabling root access (3/3)

 * Root over ADB is now disabled by default on non-eng builds
 * Requires support in su binary and adbd
 * Root access can be configured to use ADB only, apps only, or all

Change-Id: I132a35a31c676511db954ff19120fa6d3c795b23

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
	src/com/android/settings/DevelopmentSettings.java

Settings: Make CM developer options additions respect the on/off toggle
This commit fixes the problem where, when dev options are turned off, our
CM customizations don't turn off with the rest of the options and the
dangerous option (root access) does not reset to a safe setting.

Change-Id: I879756ea353ce2940c05b224998fc1a945f2ceff

DevSettings: Fix the root-access toggle in eng builds

It was being unconditionally removed, put it back

Change-Id: I8eecab7353c59b224d917cc1710124f57656cf47

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
Hardware: Custom button implementation (2/2)

* User configurable button on IR remote
* Open any app installed on device; fallback to Kodi
* TODO: Add media functions, and app switcher (once IR friendly)

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
DisplaySettings: Improve resolution selection

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>