Update to follow current spec: (1) make imported document available via link.import, (2) fire load event when import is loaded.
Polyfill document.currentScript as document._currentScript.
update tests.