Lights were not initializing correctly, this fixes that

Change-Id: I6b008a7116fa07bfb4733f7a78fd3f95d8d84e80
Merge remote-tracking branch 'team/cm-10.1' into cm-10.1
Add limitation for our liblight, avoid compile error
Light: fix a warning