Initial support for the hardware tunables framework

Change-Id: Ibb4a8049eb25f9d111d474c5015e9dd38514268b

Conflicts:
	BoardConfig.mk
	sepolicy/file_contexts
Add basic-level gamma calibration to hardware tunables (1/2)

this depends on Paul Reioux's/ Andrew Dodd's kgamma sysfs
modifications of kernel source code to function

Change-Id: I6d285a7a013d81d2c793d79fa8c1290d43eb7152
Signed-off-by: Daniel Tarrant <daniel.g.tarrant@gmail.com>
Make applying gamma less laggy.

Applying gamma takes a while, so optimize out multiple set requests
occuring quickly after each other. Those appear e.g. when dragging the
sliders quickly.

Change-Id: I48c71b8e041679bcce932f99d198f4e6a027010a
mako: Add saturation control to gamma calibration

This change depends on http://review.cyanogenmod.org/#/c/51332/ and
http://review.cyanogenmod.org/#/c/51499/

Change-Id: Icd1e6600c6f0c88f1ae9c2224d17af5daeca77ad

Conflicts:
	overlay/packages/apps/Camera2/res/values/config.xml
mako: Add default value for display color control

depend on following commits

opt/hardware: http://review.cyanogenmod.org/#/c/59752/
Settings: http://review.cyanogenmod.org/59753

Change-Id: I5573bb6c45f4bc67a040b21203a103e0a883903d
mako: Fix default value of color calibration

It was merged without being discussed, revert to original value for now

Change-Id: I7b1a1cfa5390dc9a2f81b32e40f7992dbdd33207