Settings: Restore functionality of reset in colour and gamma hardware tunables

Change http://review.cyanogenmod.org/#/c/50147/1 introduced a requirement that the user
manually change slider settings in colour and gamma controls before the values would write
to file, breaking the reset behaviour.

Change-Id: I5049631d2fa2a8d3553e8d56f49dc59770ecd6fb
PrivacyGuard : Reimplement to use appops

Re-implement privacy guard to use appops

Change-Id: Id97b6ecf8d4c844d3496adc71eeaba7ea050ce1d
Improve app op details layout.

Change-Id: I38a2c3679633ae85aec61703ab933410775bb336
Save last list position in privacy guard manager.

Change-Id: If04fd42b1a50059996d2a002f0c2451c3cdf82a4
Small fix in HWUI manager after Privacy Guard rework

Change-Id: I5ce49abeffb97f70a340a6863bee777d9cab1794