add user institution getter to repository DAO
refactor and expand repository template path features

also fixes associated unit tests
update properties documentation
improve consistency of %hash% repository template path expansion
fix trac 12421: remove %eventId% from template path expansions
allow %subdirs% expansion to be longer
exclude path separator from expansion term parameters
fix unit test to prevent accidental term typos
make institution query more null-safe
correct omero5 URLs in etc/omero.properties
detect when user-owned segment of template path expands to nothing
clarify behavior of %subdirs%
adjust javadoc to mark up more template path expansions
add some javadoc
Merge pull request #2701 from mtbc/managed-repository-template-path-expansions

Managed repository template path expansions