2937: Make sure Collection share links end with /.

This is necessary to prevent wget from saving a plain HTML file with
the name of the reader token.  With a file there, it's not possible to
make a directory tree for recursive downloads.

Closes #2937.
Refactor show_file_links.html.erb to reduce duplication.

No issue #, just something I did while working on the previous commit.