Adjust lua_debugger.h/c to lua runtime template and adjust related project configure