Add option to link to OpenGL ES, fixes #1051
BUILD: prefer pkg-config for freetype2 detection

This can solve numerous problems such as:
http://www.cmake.org/Bug/view.php?id=13959
http://www.cmake.org/Bug/view.php?id=14601

If pkg-config or freetype2.pc is not found, then fall back to the
FindFreetype.cmake module logic.

Restrict to UNIX since I only tested it here.
BUILD: fix cmake list parsing

because cmake is unable to parse it's own lists properly
Merge remote-tracking branch 'minetest/master'

Conflicts:
	src/CMakeLists.txt
Fix main menu error message dialog: Now multi-line messages aren't cut at half of second line
Create new instance of mesh every time it's required (Solves #703)
Merge remote-tracking branch 'minetest/master'

Conflicts:
	src/client.h
Add function to deregister a profiler from profiler list
Actually pause singleplayer game in pause menu and use lower maximum FPS in it
Escape error messages in error dialog
Merge remote-tracking branch 'upstream/master' into post
Add lag reporting to masterserver (average dtime)
Merge remote-tracking branch 'proller/post'
Optimize liquid dropping
Add Lua profiler, using ProFi by Luke Perkin.
StyledWriter  -> FastWriter in announce
Send long announce as POST, show OS in useragent
Add lag reporting to masterserver (average dtime)
StyledWriter  -> FastWriter in masterserver announce
micro clean
Fix wrong named masterserver announce variable
Merge remote-tracking branch 'minetest/master'

Conflicts:
	src/serverlist.cpp