Fix switching running/cached apps with memory bar

Fixes upstream issue #38735
http://code.google.com/p/android/issues/detail?id=38735

Ported from CM10
http://review.cyanogenmod.org/25775

This patch is already submitted to AOSP. No feedback from them yet.
https://android-review.googlesource.com/45993

Change-Id: I484e30d3fd4f5425e174911ae22bb2def170e6b8
FindBugs: Call to equals() comparing different types

Change-Id: If4185f9eec0adfa47a6741eb21111b6cdafac008
settings: Add option to toggle the pointer icon when using stylus

Forward-port to CM-11.0

Change-Id: Ib9c22ecb05cc698ead5bfffa34d2a2ffa9c21e13

Conflicts:
	res/values/cm_strings.xml
	res/xml/language_settings.xml
	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
Port "Option to hide Adb notification icon"

Change-Id: I7c50e50be86c654c77d6c2a385860d97279ed621

Conflicts:
	res/values/cm_strings.xml
settings: fix exception in BatterySipper.getQuickNameIconForUid

placeholder

Change-Id: I4da880532788de78debffe594faf08eee0389014
Settings: fix led pulsespeedoff disable behaviour

Keep led pulsespeedoff disabled if pulsespeedon is
disabled.  This ensures that pulsespeedoff stays
disabled if onOffChangeable was set to false.  Fixes
problem where charged led pulsespeed off looks to
be configurable in the ui and thereby creating user
confusion.

Change-Id: I6ac7f630544bf719b39e1ddcab435322975430c8
Bluetooth: Don't set a null alias before unpairing

* This causes the unpair action to throw a null pointer exception and
  bring down the Settings app. Don't do this.

Change-Id: I0c60437f5ea934385a037a464743e24c9d341aca