Removed EGL-specific code from contexts.
Readded EGL-specific context capability, and added surface creation.
Added methods for all the path segment types.