Added some OpenGL helper functions for error checking.
A small wrapper around framebuffer objects for OGL.

Currently only supports a single color attachment and a depth buffer attachment.
Added resize event handler to main.
WIP for the application class. Added SetResolution()

Among other things. Right now it's in a state of flux. Only committing
so the repository will compile. Should be doing this on my own branch.
Quick and dirty test shaders for water surface.