Added SDL_image to cmake based build.
Fixed includes.
Initialize SDL_image library before using it.
Merge pull request #129 from theunknownxy/fixes

Some fixes