Replaced `close` on Window trait with `Set<ShouldClose>`

Closes https://github.com/PistonDevelopers/event/issues/269