properly rewrite @import rules of the form @import url(…);
beef up currentScript test.
provide _currentScript on document and SD polyfill document. Fixes #45.
Merge branch 'master' into dynamic