Re-struture logic of determining urlpath for normal items.
Don't urlencode directory separators for direct (file) links.
Merge branch 'fix-direct-file-links' of https://github.com/rpavlik/DirectoryLister into dev/pr60
Applied new URL encoding to directory links as well