Better treatment of relative paths

Now refs to assets that meet the following rules get preprended with a
url:

* all root-relative revved assets
* non-root-relative revved assets in non-revved files

That is to say that "scripts/1234.scripts.js" in index.html WILL be prepended
with a CDN url, whereas before it was not.