Sdl callback tests

Tests were added to the current functionality of Hate. Since most of this is using very basic SDL and OpenGL, only a little bit of it needs to be tested on its own.