Limit QC camera features to post-ICS HALs

ICS blobs don't support longshot, and have a different API/method enum
for histograms

Change-Id: I6704b9302344ae2ae6386312b68de669bb5c11f2
WifiController: fix high perf lock sometimes not respected

When the device screen is turned off, the state is DeviceActive for
15 minutes. In this time, high perf lock is not respected and
Wi-Fi power-saving mode will be turned on because screen is off.

Fix by adding a new DeviceActiveHighPerfState.

Change-Id: I71074beec4d41286dea0861107d7931da205aca2
JIRA: CYAN-2860
AppOps: track op persistence by name instead of id

On XML write, include the op name.  On XML read, map
the name back to op id (if it exists).

Persistent AppOp state now follows the op name instead
numeric id.  This allows upgrades between versions of
android that have different code<>name mappings.

Change-Id: Iffc02095b6838a34ff999f8db51c2c6739dd0db8
Revert "Frameworks: Forward Port Circle Battery and Landscape Battery (2/2)"

This reverts commit 12dfb8a50ad1032197ae69ce7630cd447a2195ec.

commit 4b83215be805aeb9d38ff0d474305d620af5186d
Author: Mahdi-Rom <mahdi.rom@gmail.com>
Date:   Fri Jan 3 21:41:03 2014 +0000

Revert "Fix charging indication."

This reverts commit 3d21e7d3d9ce5a55f352f19336bf4e0820b5e73f.

commit 129e45ac89f50812aa7b78e94cf30e6034612bbf
Author: Mahdi-Rom <mahdi.rom@gmail.com>
Date:   Fri Jan 3 21:39:25 2014 +0000

Revert "SettingsProvider: add back accidentlly removed code for lockscreen settings"

This reverts commit c4d2725bbad20f8ca7ae25aeb7de6b0898200986.

commit 7f2359c91d63e0812bf2a1f98ea65ecd1b83c68b
Author: Mahdi-Rom <mahdi.rom@gmail.com>
Date:   Fri Jan 3 21:39:10 2014 +0000

Revert "SystemUI: fix new battery styles not working on tablets"

This reverts commit 5709858dad0336a3be51f0c2090154eea57494
Revert "QS: Make it possible to show smaller icons (1/2)"

This reverts commit 43aaa68a9ef77f156d8ba218d47b38717a840419.
Quicksettings: add option to choose number of tiles per row (1/2)

finally figured out how to add Slims number of tiles per row while keeping CM's notification ribbon mode,
also all layout problems are now sorted out.