Fix various issues with missing slashes in `url` and/or `siteRoot`

This should fix the issue with `siteRoot` being included in the `url`.

Should fix #9.