Merge of lp:~glmark2-dev/glmark2/egl-state.

Adds EGLState object, which consolidates all EGL interactions.