Fix confusing warning dialog behaviour.

The settings app closing when pressing back while the dialog is shown or
clicking outside of the dialog was confusing for the user. Instead, make
sure the user has to acknowledge the dialog.

Change-Id: I8ffdf6a2ede8b67176fd22a13d7046a707b52b89
Settings: Make CM Settings visible for users other than the owner

Patchset 2: Remove themes
Patchset 3: Re-add themes to test if they are independent
Patchset 4: Remove themes again.
Patchset 5: Rebase and add Privacy Guard
Patchset 6: Add Buttons

Change-Id: Ia22c9b244d924e6bb3c89dbd059df53d6a888ac6

Conflicts:

	res/xml/settings_headers.xml
Merge github.com:ResurrectionRemix/Resurrection_packages_apps_Settings into kitkat1