Start of copy permissions tests
Created additional chown and chrp functions and split chown away from
setPermissions
[bugfix] Do not cache Remote Resource permissions when calling UserManagementService#getPermissions(Resource) as they may have changed, at which point the client will see out of date permissions.
[test] Further tests for chown and chgrp to ensure correctness
[test] Tests for permissions when copying Collections and Resources