CORE-4914 Added total_filtered count to paged-dir-listing.

Separated fs-filter-files from the filtered-paths list, since these lists are needed separately by the new icat/number-of-filtered-items-in-folder.
Updated paged-dir-listing to use the result map now returned by the icat/number-of-items-in-folder function.
CORE-4962: allow users with read access to a tree file to view the trees associated with that file.
Merge remote-tracking branch 'origin/dev'