if rootdir is '/' or '' it is not added to shortRoute
Remove duplicate slashes in URLs when rootdir is empty; closes #158. Thanks @maxatwork