Add support to GWT for GlGetInteger, glGetFloat and glGetString. Fix square packing for TexturePacker

GWT : Needed this while working on issue #1254 
TexturePacker : notice this little bug incidentally