Revert minimal OpenGL version to 3.1
Merge pull request #274 from hpicgs/opengl_3_1_as_new_minimum

Revert minimal OpenGL version to 3.1