Futureproof: EGL 1.5 support, OpenGL ES 3.1 support

* Future-proof implementation for EGL 1.5 and OpenGL ES 3.1 now that official specs have been released.
* glutInitContextVersion's minor version can be used for more exact OpenGL ES version picking, if EGL 1.5 is in use.
* Updated BlackBerry to support latest changes to FreeGLUT to work with glutInitContextVersion instead of compile version.