Added OpenGL ES 2 context support, set SDL_GL_CONTEXT_MAJOR_VERSION to 2

This should add the ability to create an OpenGL ES 2 context, similar to how it works on webOS, and (I believe) on SDL 2.

The extra attributes were pulled from the old SDL 1.3 working version, but I'm not sure if SDL 2 has officially changed how this works. Either way, this is consistent with how webOS handles it (since all webOS native applications rely upon SDL) and blends in well with the rest of SDL 1.2