Fixes #217. Fixes issue where ending slash is included in config.siteRoot
Merge pull request #250 from pencilblue/issue/PB217

Fixes #217. Fixes issue where ending slash is included in config.siteRoot