Port to SDL2

Also add a -DSDL flag to allow #ifdef SDL sections.
SDL2 is found via pkg-config.

See also #92, and hrydgard/native#191 for the meat