Implemented `close`

Closes https://github.com/PistonDevelopers/sdl2_game_window/issues/26