[2/2] Settings: Privacy Guard

PS2: * add ic_privacy_guard*.png from frameworks/base
     * rebase

PS3: * enable AppOpsSummaryActivity
     * use SubSettings on longclick

PS4: * move privacyguard settings category to just
       below security

PS5: * rebase

Pulled together mostly (if not all) from:

Author: Steve Kondik <shade@chemlab.org>
Date:   Tue Feb 25 14:02:16 2014 +0100
settings: Relocate Privacy Guard icons to framework
* So we can use them in the permission dialog for MODE_ASK
Change-Id: Ia9bac7dff0bbe91ae48db5d4b0d8f46feb9fdf86

Author: DvTonder <david.vantonder@gmail.com>
Date:   Thu Jan 16 19:01:23 2014 -0500
Settings: Fix up top level "Privacy" section
Change-Id: Id4dbda10a891c793bc6eb3c42807cc0e3f6092cc

Author: Danny Baumann <dannybaumann@web.de>
Date:   Fri Nov 8 13:37:07 2013 +0100
Add back privacy guard manager.
Change-Id: Ic9fbbae137bb8425fe72a6cdb2f17117351b5709

Author: Chirayu Desai <cdesai@cyanogenmod.org>
Date:   Sat Dec 28 18:51:46 2013 +0530
PrivacyGuard: Specify a default value in Settings.getInt method call
* While privacy guard is enabled by default, the default value specified
  here is returned only when the setting is not defined or not an integer.
Change-Id: Iaedffcc76a23a310aa7915f6a42ccce83ba5d2a6

Author: Matt Mower <mowerm@gmail.com>
Date:   Wed Feb 5 19:40:37 2014 -0600
PrivacyGuard: confirm permissions reset
The button to reset all application permissions to enabled looks
suspiciously like a refresh button. Prompt the user with a confirmation
dialog to make sure they know what they've pressed.
Change-Id: I0444c5bf8e9533feccf890055d34d3200609c6f6

Change-Id: I2e10cb4d395e2e7e5141d2fadada9e9b21cd7fbf
Switch to new Superuser

Change-Id: I9d91392ad6fbc9953d19059ab59b91d214c00e0c

Requires this
http://review.cyanogenmod.org/#/c/78202/

Patchset: 6
http://review.cyanogenmod.org/#/c/77128/
Merge branch 'cm-12.0' of git://github.com/CyanogenMod/android_packages_apps_Settings into cm-12.0
Add AOSP version
(cherry picked from commit 963cb165c77d3c084e0e11812187c336898f660c)

(cherry picked from commit 44987456bcf7eb8187184a08456c50d942ba8d0a)
(cherry picked from commit ec6a8031c6115a4f2c18625caf03fdebc4adc7ee)
(cherry picked from commit 431222ca640a22ba1101eb6c63413ed751e124b1)
(cherry picked from commit bc1d912cd31f40b724d851438160e012737150e6)
(cherry picked from commit d8d8958e51c6a990b3bd1d52e3884cbfc9ad41e8)
(cherry picked from commit d83c61131051f47e5ecac4f1c288022669edec63)
(cherry picked from commit 78ef55f03bb6a5118ecc6844579cec76872ebb04)
(cherry picked from commit 48260ff7ae2f51f7d61b96562415b781194cd30c)
(cherry picked from commit a5b9b834210e7065eff1845805b3582be58603fe)
(cherry picked from commit 09ebd5eef0b09eb0ffad20a43021a3e035af3aba)
(cherry picked from commit cfdc5308da58013e2329bd9eb187408b81cbd28c)
(cherry picked from commit 9206e3e2a1a0ca5d05e52893586bf4a965961d50)
(cherry picked from commit 264197886e7a525b7110e424530012857a2bf17e)
(cherry picked from commit 0b147d69e5b6f656530d8133c4937f42eae4ccda)
(cherry picked from commit df3bd3e9f2a6cdb837f20b5b7ea5d857cb3cb33a)
(cherry picked from commit 8734f8db169b698321f067ef40e88b0b69582b19)
(cherry picked from commit 18333dd1bc5b6a81155349953ca4e8aa6e30b40f)
(cherry picked from commit 1401a0930ebd31d6c01aeb3c0f486fc161809e9b)
(cherry picked from commit c3fe973f75a3b14d819a20a4f5af51caf2b9e3a8)
(cherry picked from commit 1f5503c98d7907012794759f882d6193a850f9d2)
Add AOSP version 2

(cherry picked from commit d13ba7ebb990312f06bb23c65738c94c76ebdcfa)

Conflicts:
	res/values/cr_strings.xml

(cherry picked from commit 0c3acbaaeabdd1a890758e0669265b01ec9ea3bd)

Conflicts:
	res/values/cr_strings.xml

(cherry picked from commit a5efc4cde54593af6bf35562752edf4df4f0728a)

Conflicts:
	res/values/cr_strings.xml

(cherry picked from commit cd1e4e7b900e4271788f039d45f7ec54619e50e1)

Conflicts:
	res/values/cr_strings.xml

(cherry picked from commit 6e0e1f6d0810479d2f44a8b4d646d3255f369adb)

Conflicts:
	res/values/cr_strings.xml

(cherry picked from commit 86655bf0b58c5fb145c04d738e7752b4d3d2c638)

Conflicts:
	res/values/cr_strings.xml
	res/xml/device_info_settings.xml

(cherry picked from commit 9fb96e4c25d8152c496c9350654557b3fe639504)

Conflicts:
	res/values/cr_strings.xml

(cherry picked from commit e8f1081afa2fdccfc8f942e38a8b122c34a491ce)
rename Home

(cherry picked from commit 9223cf0158213febcf070abd6910e2ea36d9158f)
(cherry picked from commit ec94213560bd25feac17dd911ef577f09b253ec7)
(cherry picked from commit aea7c365c4b1785c575546cdcc0164052efe94e5)
(cherry picked from commit 6795910b52fef7a7fea106337ed02724fcb3647d)
(cherry picked from commit 50cac53f236540482aa44f0b509a3b2465c149e4)
(cherry picked from commit 56f39dd0981f526bf9cb8d4067f27ccb85f29ee5)
(cherry picked from commit 1c03c69f2cc1f7b3ef632580ee4440b728db352d)
(cherry picked from commit 0ca72cd61375ad39388266083d91fbcab90868bd)
Add build id to AOSP rev

(cherry picked from commit bc28464e36f959f33ccf796561a8901d0c68bb09)

Conflicts:
	res/values/cr_strings.xml

(cherry picked from commit f1bbaf26c9e86ea976c7638565a5fbe91316355c)
(cherry picked from commit a53990cab1f04d5dedcad19d0c1e7e469cbdc9a3)
(cherry picked from commit f08eff19efdc2995f02e0ef7211142424e006442)
(cherry picked from commit 03bc96419970711e96052a1ec916ffe0768c516c)
(cherry picked from commit 86ca2cabb237f72000ebda31803ecb9e9d3d86a0)
(cherry picked from commit 31e3add73faede5b062ee620d591d362aa2847df)
(cherry picked from commit c2b4bb16f23251b311ad6d155a9748b6f275439c)
(cherry picked from commit e6e23a5dbb8715e72f076d7886c4c777105b22af)
Derp

(cherry picked from commit 1c27e9a42a3bd84736e5b88df7e508e50ab67cc6)
(cherry picked from commit 0b6a692000e22631e8e2db5c26b490c20c2891d2)

Conflicts:
	res/values/cr_strings.xml

(cherry picked from commit ff14f9e3106cc891628276ecd76deda308656c7c)
(cherry picked from commit 042548b37ae998185e89ecfe5776ed601f440d72)
update to AOSP 5.0.0r7

(cherry picked from commit 7f60fa8a56833b81e15cb5046ccbe2eb5e743e29)
(cherry picked from commit 0d66c0783d3c7d22dd622bf0a19b2026c85cc547)

Conflicts:
	res/values/cr_strings.xml
derp

(cherry picked from commit 9beedfe12917b4cb6929008ecdcb9249ef5b57a9)
team ub

(cherry picked from commit 1439458d938b9db85c5e2d93044049078f706135)