libhardware: QCOM's revenge

Based on CAF kk_2.7_rb1.9

Change-Id: Ide64ea08b22cb147b9eee7afab438ea12ff59904
Include some changes from CAF AU_LINUX_ANDROID_KK_2.7_RB1.04.04.00.007.011

Change-Id: I3f79b6a990bbdf44fbf261a4686bcf9ddec4cb02
Merge branch 'android-4.4_tst' of https://github.com/Haus1/android_hardware_libhardware into HEAD

Conflicts:
	include/hardware/gralloc.h
	include/hardware/hwcomposer_defs.h

Change-Id: I25cff6fc4760d116d9b4d41e257705a5f882ef36