Added C++ wrapper for the Lua state.