gl: add selection of backing pixel formats/config attributes
@ystreet
Submitted by Matthew Waters Link to original bug (#744187)
Description
All the GL platforms (egl, glx, cgl, wgl, etc) allow the possibility of selecting the pixel format for the window that is rendered into as well as miscellaneous context config options. We should expose that.