Replaced xmldb:get-current-user() with
security:get-user-credential-from-session()[1].
Reverted output of sharing:get-shared-with().
Replaced reference to xmldb:document().
Replaced reference to xmldb:is-admin-user().
Reformat.
Added security:set-resource-permissions-new().
Added $config:commons-resources-permissions variable.
Added $config:biblio-admin-user and $config:biblio-users-group
variables.
Replaced xmldb:set-resource-permissions().
Replaced xmldb:set-collection-permissions(), as it is deprecated.
Removed writing access for guest in
$config:commons-resources-permissions.
Merge pull request #97 from claudius108/master

Improvements, removing deprecated functions, correcting permission-related functions, etc.