Implemented `close`

Closes https://github.com/PistonDevelopers/sdl2_game_window/issues/26
Merge pull request #27 from bvssvni/master

Implemented `close`