Getting ready for shaders

Add some boilerplate shader and program checking code
Rename functions and some variables to have consistent style (CamelCase, globals prefixed with g)
Set GL version in glfw window hints
Tell GLFW to include GL3