Debug|libgui|GLState: Verifying parts of the GL state
libgui: Window state management behavior improvements

Fixes the Windows-only problem where a fullscreen window would
randomly use the previous display resolution as its size after a mode
change.

IssueID #1892
Merge branch 'master' of https://github.com/skyjake/Doomsday-Engine