PROV-837 Properly enforce type-based access control for object representations
PROV-837,PROV-841 Properly enforce representation access restrictions (type-level and record-level) for download media feature in search tools

Also include non-primary representations in the downloaded zip.
Merge branch 'PROV-837'