adding privilege check on move and rename operations
adding unit tests for ObjectTree::move()
code cleanup
Merge pull request #4969 from owncloud/fixing-4043-master

adding privilege check on move and rename operations