Refactor|libgui|GLState: Use the fluent interface pattern

When specifying GL state, it is common that multiple set() calls are
occurring as a group. The fluent interface pattern makes the API
easier to use and more readable in this case.
Tests|glsandbox: Cleanup