Added support for custom OpenGL version

Closes https://github.com/PistonDevelopers/sdl2_game_window/issues/17
Merge pull request #36 from bvssvni/master

Added support for custom OpenGL version