Add permissions management framework
for allowing the user to revoke individual permissions on a per app basis.
Adapted from CM7 commits 949eb05 and 4a0a352 to work with 4.2.2

Conflicts:

	core/java/android/app/ApplicationPackageManager.java
	core/res/res/values/strings.xml
Missing stuffs in "Add permissions management framework" implementation

Change-Id: I529b09c01a053b1771a44835ff6e979c2da92311