replaced sdl1 with sdl2 code, changed configure script/Makefile.am to use sdl2
Merge pull request #2 from AlmasB/sdl2

replaced sdl1 with sdl2 code, amended configure script/Makefile.am to use sdl2