Settings : Add hooks for device specific features

Add support for :

Devices with bluetooth input peripherals
Devices with screen gesture support
Devices with a back touchpad

Conflicts:
	res/xml/language_settings.xml
	src/com/android/settings/cyanogenmod/ButtonSettings.java
	src/com/android/settings/cyanogenmod/SystemUiSettings.java
	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java

Change-Id: Ia4835c69a8ba8fb76597e0ab0540f8ef1ed6e322
Only show ART information if switching from dalvik to ART

We do not want to confuse users with a big information dialog, if
they change from ART to dalvik as dalvik is still the official
solution, supported and considered safe.

Change-Id: I0ce4846e0bb751e87e5c410e668d4bc521380141
Merge "Settings : Add hooks for device specific features" into cm-11.0
Merge "Only show ART information if switching from dalvik to ART" into cm-11.0
Add CM Legal (2 of 2)

New settings activity for CM Legal info. Needs vendor/cm piece.

PS2: Manual Rebase

Change-Id: I6238afe23f957a571d29c186447b455ecb7a186e
Settings: Add missing up navigation in menus

Squashed forward port from cm-10.2

Change-Id: Ia9d51b53df8a3eb4c1b9dee1aeefb0b74eac0fde
Add option for switching between UMS and MTP/PTP mode. (2/2)

This adds support for switching between UMS and MTP/PTP.
Settings part (this part) adds option in USB settings (statusbar/notification drawer) for enabling UMS,
and adds setting in Storage menu to enable / disable UMS, this since the USB settings page disappears when enabling UMS.

Forward port from cm-10.2, adjusted for 4.4

Change-Id: I6cf50a41a9a82e40e702f5231ce663636c149613
Merge "Settings: Add missing up navigation in menus" into cm-11.0
Merge "Add option for switching between UMS and MTP/PTP mode. (2/2)" into cm-11.0
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>

Conflicts:
	AndroidManifest.xml