router: implement RelativeURLPath

We can use this for generating correct relative URLs in pages that
we serve (we'll use it initially in the generated SVGs for bundles).

Also add some copyright notices that were needed.
You could potentially use `strings.Repeat("../", dotdotCount)` instead of this loop, I'm not sure it would make it better though.