Fix Api::ThemeAssetReader to handle protocol-relative urls.
Remove many dependencies