no need for redirection for directories

Links to subdirectories lack a trailing '/' and this triggers a redirection when these links are clicked. This has the disadvantage of triggering a redirection to add the trailing slash, which is inefficient at best and distruptive in some cases (possibly because of some other bug between HSB and URI).

This change just adds a trailing slash to all directory items, so that clicking them does not trigger the redirection.