Add lua-bindings for Light and test case and fix compile error triggered by UIHelper.cpp