Tests for cross-origin object behavior. v2
Pull out document.domain tests into a separate window. v1
Addressed Ms2ger's review comments.
Merge pull request #1118 from bholley/cross_origin_spec_tests

Cross origin spec tests