Xlib changes

-Adds an include for memcpy to work on Xlib.
-Adds new context creation code for xlib-GL3 bridge, so it actually
creates a GL3 context.
-Also adds debug possibility to GL3 context on xlib.

This probably breaks linux, as it hasn't been compiled.