Update SW scope point to test directory.

When combined into a single repository the tests were broken because
the test resources were placed under the 'tests' directory. Fix this.
Use a relative path to the resources directory for SW scope.

This should avoid future problems if the test directory is moved.
Merge pull request #3 from reillyeon/update-scope

Update SW scope point to test directory.
Replace 'foreign' with 'crossorigin' in the polyfill and tests.

This brings the event names up to speed with the current spec.