input: Add workaround for broken hardware keyboard support

* Add workaround var for devices with broken kernels

Change-Id: Ib6ade70f399067469ba5aece48c6ec4608125d75

Conflicts:
	services/java/com/android/server/wm/WindowManagerService.java

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/public.xml
power: Add panel auto-brightness configuration

 * Some panel hardware requires that we twiddle some knobs in sysfs to
   enable proper display calibration (gamma, etc) when auto-brightness
   is enabled. Add a configuration value to handle this.

Change-Id: I3c793c3520fc6f9a18d5a3abf1fe0df803c5e580

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml