CORE-5105 added aggregate permission retrieval code

(cherry picked from commit 14ef749a2559cddac0bc84900aa98e8d6a3d48b7)

Conflicts:
	libs/clj-jargon/project.clj
CORE-5105 fmt-perm accepts access-type-ids

fmt-perm was converted to a multifuction that can work with both FilePermissionEnums and with access type ids represented as a Long.

(cherry picked from commit 052ac87104176a81d77a16bcd289da0c74f43e89)
CORE-5105 directory endpoints now return aggregated perm

(cherry picked from commit b7bc32e5169cebea38f250496abee0cd54d5a4be)
CORE-5105 updated documentation directory-listing

(cherry picked from commit 47a566cb8a648e054e66c88c6dad50cfabda1429)
CORE-5105 search result entries have an agg perm

All search result matches have a permission fields that tells the client's aggregated permsion on the match.

(cherry picked from commit cf3fe0cd894fd8ac4cab331249461bbb3f2c9d60)
CORE-5105 fixed a search doc bug

(cherry picked from commit ab4d1edc0ed0ec364b0f359e044c1b362861b721)
CORE-5105 Grr, fixed another doc bug

(cherry picked from commit bb237666a2884c07d7f0be3a10be52dbadd4be34)
CORE-5321 Updated share endpoint to use permission keyword.

Added a set-permission function to clj-jargon.permissions.
Updated donkey.services.sharing to parse a 'permission' keyword from the request JSON instead of a 'permissions' object.
Updated donkey.services.filesystem.sharing/share and related functions to use the new set-permission function with the 'permission' keyword from the request instead of a 'permissions' object.
Updated sharing docs for new request JSON format.

(cherry picked from commit 9a58eb7b6098a2a21882322f53b7d765419a5656)
Merge branch 'dev' into CORE-5105
switched dewey to using clj-jargon's fmt-perm

(cherry picked from commit d6126f4eff4c82ca61a68767079105b1afee8eec)

Conflicts:
	services/dewey/project.clj
Merge branch 'dev' into CORE-5105
CORE-5321 Updated filesystem/share endpoint docs.
CORE-5323 Updated permission format in stat response.
CORE-5334 Updated permission format in root response.

Also updated donkey.services.filesystem.root/root-listing to use the new clj-jargon.permissions/set-permission function instead of set-permissions.
CORE-5105 Added fmt-perm method for String params.
CORE-5322 Updated user-permissions response format.

The /secured/filesystem/user-permissions endpoint now uses the unified permission format.
CORE-5105 Updated formatting in some filesystem docs.
CORE-5334 Updated root listing docs.
CORE-5323 Updated docs for fileio endpoints.

Since the /fileio/upload, /secured/fileio/save, and /secured/fileio/saveas endpoints use the same response as the /secured/filesystem/stat endpoint, the permission format of these endpoint responses have been updated.
CORE-4619 Updated delete-workflow endpoints in index.