Initial support for the hardware tunables framework

Change-Id: Ibb4a8049eb25f9d111d474c5015e9dd38514268b
merge changes from CyanogenMod 10.2 into local branch