add loader to Platform; allows loading of stylesheets; will be refined to share code with the HTMLImports polyfill.