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
merge changes from CyanogenMod 10.2 into local branch
Merge remote-tracking branch 'upstream/cm-10.2' into cm-10.2