Implemented `close`

Closes https://github.com/PistonDevelopers/glfw_game_window/issues/18