Patched demo to work with newer GLFW/OpenGL.

Tested with GLFW   == 0.5.2.0,
            OpenGL == 2.8.0.0.

Newest OpenGL use StateVar mechanism to simplify API.
It also allows to set window size in openWindow function,
instead of using GLFW hints.

And please let me know if you're still maintaining this excellent library!