Prevent end of path line slashes being added in SAYT
Fix paths display during SAYT and only add data-path to folder links
Ensure paths are styled and uses same logic everywhere
Fix Bug 967168, add context menu for dir links
consistency of var use ftw
Merge branch 'bug957168-context-menu-for-dir-links' into ui. Fixes Bug 957168 and other small UI tweaks.