add __self__ property to Window
Merge pull request #2359 from kived/window-self

add __self__ property to Window