Implemented `close`

Closes https://github.com/PistonDevelopers/glfw_game_window/issues/18
Merge pull request #19 from bvssvni/master

Implemented `close`