Removed linking of SDL_main.
Removed linking to system library lua.
Added Lua source code : it's now linked statically.
Updated CMakeLists in tests for linking the new lua library.