Move resolution confirm box to a separate game state

These changes allow us to use graphics APIs that need to free all
surfaces/textures before changing resolution.
Merge pull request #944 from dorkster/sdl1

Move resolution confirm box to a separate game state