Merge pull request #2 from DaGamesta/sdl-port

First attempt at adding checking collision with blocks.
draw a text rect in opengl
use freeimage instead of SDL_image which doesn't work on my system

(story of my life), add opengl 3.3 sprite/texture example. depend on
GLM. it seems better than eigen, probably more documented and more
similar to opengl, i think i like it more.
yay, add texturemanager and make it load a sprite properly

make it load the channels properly too, src images are in BGRA and
we want it in RGBA of course...
actually add texturemanager..
rm some deprecated stuff
add glm doc pdf for ease
implement basic model,view,proj matrices
correctly display alpha as invisible now

by loading image as BGRA and converting to RGBA, and setting
glBlendFunc
fix fps/font rendering

by adding gluseprogram's
use identity matrices for now, use ortho proj matrix.

flip the texture coordinates and now we're using pixel coords for it
reimp modelmatrix and scale
view now works as does model and proj matrix..now

time to make it into a camera class somehow
load (default, sprite) shaders from file now
refactor gl error checking into checkGLError()
refactor the shader loading and error handling a lot more
more cleanup..
use opengl 3.0 and glsl 130 again.

remember that mesa still uses 3.0 and won't for about a year at least.
mac osx uses 3.2, absolute max on any mac systems, because it likes
being fucking old.
rm resource manager, cleanup texturemanager, create fontmanager stub
implement fontmanager and use it now