adding error handling on file_put_contents within the web dav implementation
unify duplicate code
creating non static getETagPropertyForPath()
adding public $fileView to Node to allow unit testing
adding basic unit test for failing file_put_content operation
catching NotPermittedException and throw it to the dav client as 403
remove unused setUp()
Merge branch 'master' into fixing-4011-master

Conflicts:
	lib/connector/sabre/directory.php
	lib/connector/sabre/file.php
remove commented code
adding test testSimplePutFailsOnRename()
Merge branch 'master' into fixing-4011-master

Conflicts:
	lib/connector/sabre/directory.php
Merge branch 'master' into fixing-4011-master
Merge pull request #4974 from owncloud/fixing-4011-master

error handling added in case file_put_contents is failing