Add support to GWT for GlGetInteger, glGetFloat and glGetString

Needed this while working on issue #1254