Added OpenGL ES 2 context support, set SDL_GL_CONTEXT_MAJOR_VERSION to 2.

The additional attributes are pulled from SDL 1.3/2.0, similar to webOS