ALL: SDL1.2 to SDL2 migration.

The main part is about the graphic stack and the remainder is about
events, the mousewheel and the textinput which is now distinct from
pressedkey.

A feature which would be nice to add is fullscreen from the desktop
resolution. SDL2 allows to do so with a single line.