Use float instead of real
Fix three memory leaks
Use dlmalloc instead of malloc
Use C++11 standard. NOTE: Do not use any of the new C++11 features for now. The only allowed keyword is alignof
Merge branch 'master' into rendering-2

Conflicts:
	CMakeLists.txt
	samples/terrain/terrain_main.cpp
	src/Config.h.in
cmake file update