Update Lua to 5.2

Cherry-picked 9079973. Conflicts:
	src/scripting.c
lua_resume has an extra arg on 5.2