Check GLEW Extensions

Check the existence of GL necessary extensions for the program work
properly
CMake creation and CMakeLists.txt creation

This commit comes with CMake support for Win and Linux