liblights: import changes from blue & updates

blue: implement als switch into light libs
blue-common: disable als if display is going to be off
blue: liblight: protect writes with mutex
blue: liblights update
blue: Allow control of light notification timing
blue: Apply gamma curve to backlight
blue: lights: set minimum value for lcd brightness to 10

Fix keyboard backlight for new as3676 kernel implementation

Change-Id: I13a17796f76735369037c287ec974b8c1d23b19b
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>