Rename ErrorType to GlError

GlError is more specific and sounds nicer to me.
Simplify GlDevice::get_error
Move creation code for GlError out of GlContext

This makes GlError useful outside of GlContext.
Merge pull request #374 from hannobraun/gl-error-handling

Improve handling of OpenGL errors