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
Add missing symbols & file