gles2: add basic GLES2 functions

Extensions to follow. Doesn't quite compile because D doesn't like `const GLchar* const*` but I don't know what it's supposed to be. Also GLsync is commented out for now as I don't see anything using it.