Scope & iframe issues with Modernizr

Fixed issue where Modernizr is run within another scope, where this -keyword might not point to a window

Fixed issue with first testing for window.getComputedStyle and then using getComputedStyle directly (with for example iframes)