Pass a errfunc to lua_pcall to get a traceback
Merge remote-tracking branch 'upstream/master' into dynamic

Conflicts:
	src/script/lua_api/l_env.cpp