Fix issues when the `siteRoot` and and `URL` don't have slashes.
Handle the `siteRoot: './'` case too.
Merge pull request #15 from XhmikosR/issue9

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