Stylus gestures features (2/2)

Forward-port of https://github.com/CyanogenMod/android_packages_apps_Settings/commit/b3d850521e0042b85422903c70130f350f57b87a
to CM-10.1

Change-Id: I0ab78f1129d2d04b0af21e9b38da027dfe3d1295

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
inputmethod: Fixup remove stylus preference for non stylus devices

This commit included following changes

 * Move show stylus icon checkbox to Pointer Settings Category
 * Fixup issues stylus preference doesn't remove if not supported
 * Improve the code remove stylus preference if not supported
 * Remove an unnecessary variable introduced on http://review.cyanogenmod.org/#/c/33774/

Change-Id: I0f2e1b5cda00033915bb25902ce970f9eda52048

Conflicts:
	res/xml/language_settings.xml
	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
Handle cancellation of the 'enabling PrivacyGuard' alert box.

I noticed that the option could remain ticked but not actually enabled
if the alert box is cancelled.

Change-Id: If9a4e88641a5e4283d6ea16c17ca4461841580e3
Fix derp.

Change-Id: I2766f4c89460c967e32349be008e38b3600b7e76
Merge branch 'jellybean-legacy' of https://github.com/ParanoidAndroid/android_packages_apps_Settings into jellybean-legacy

Conflicts:
	res/values/strings.xml

Change-Id: I3c5f643c5a1d4a03eda8bd964403315e6b3a64bf