use routing for file downloads and folder browsing
remove commented code
Fix copy'n'paste error
add missing slash in browse url
return folder icon for httpd/unix-directory and inode/directory
try to be backwards compatible with old non token link shares
fix double slash in js router
unify dir check