Add get_surface function (rebase/squash from minetest PR#640)

Conflicts:
	doc/lua_api.txt
	src/environment.h
	src/script/lua_api/l_env.cpp
	src/script/lua_api/l_env.h

Commits:
    add get_surface function
    Fix typo
    fixed comments from 20130814