Add support for CMake building.

 * Add basic CMake config file.
 * Add custom cake modules for finding the dependencies.
Switch to SDL2

 * Remove dependency on SDL_gfx, implement simple frame rate limiter.
 * Switch to SDL2 window/renderer management.
 * Note: currently forces textures to ARGB888, need to get the right format for the display.
Add gitignore.