adding privilege check on move and rename operations

Conflicts:
	lib/connector/sabre/objecttree.php
Merge pull request #5112 from owncloud/backport-4969-stable5

[backport-stable5] adding privilege check on move and rename operations