First draft

Ported from http://zeroclipboard.org/javascripts/test-iframes.js
Fixed a bug for same-origin framed but unsandboxed detection
v0.1.0