implement some window apis
Merge pull request #14 from groupon-testium/window-api

implement some window apis