Fixed offset function for objects in iframes.

So. It passed tests of course.

getWindowScroll() function had some bugs.
1. pageXOffset and pageYOffset properties not supported by IE 8 and earlier
2. When you trying to get offset for node in iframe, getWindowScroll must return scroll inside iframe. Not for global window.