GLEW as the OpenGL manager

GLEW (The OpenGL Extension Wrangler) is embedded into the project
and it will handle OpenGL context detection and extensions management
from now on. Several changes including new functions were made.