Auto implement Window trait

Closed https://github.com/PistonDevelopers/window/issues/2