Fix building sdl2 branch on travis-ci

Install libsdl2-dev from a PPA.
Don't set the window title twice
Set com_minimized to 0 when the window is restored
Send key up events for the mouse wheel

Previous versions of SDL would send SDL_MOUSEBUTTONUP events for the mouse wheel immediately following the corresponding SDL_MOUSEBUTTONDOWN event