Use Object.getOwnPropertyNames when possible
Fixes #3
Merge pull request #4 from Y0ba/master

Trap enumerable and non-enumerable properties of window when possible