Upgrade OpenGL version to 3.2

OpenGL version upgraded to 3.2
GLSL version upgraded to 1.50
Added better OpenGL error handling
Functions for generic error handling
Use Vertex Array Objects as mandated by OpenGL 3.2
Updated Blender exporter