keyboard: re-add code to detect lid state 

This was lost in the cm-11 merge. Without this, a change in lid state
isn't generated to light up the keyboard backlight

Change-Id: Ief35cebcb62da13afe1ae7531d69ab58e196be9e
nardholio authored on Nov 20, 2013
95A31 committed on Jun 15