liblights: add support for variable button/keyboard brightness

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

Change-Id: Idbdd5d7cb8aef63864930a499ebdc142d2c1a4f4