Make EGL function eglCreateContext spec-conformant and actually read the EGL_CONTEXT_CLIENT_VERSION field when creating a context. Require the version number 2, since WebGL1 maps to GLES2.
Merge pull request #1934 from juj/eglCreateContext

eglCreateContext.