fixes #4343
adding unit tests to determine length
adding unit tests for quota checks
Merge branch 'master' into fixing-4343-master

Conflicts:
	lib/connector/sabre/quotaplugin.php
lacy initialization of fileView - in case basic auth is used FileSystem is not yet initialized during the initialize() call
Merge pull request #4348 from owncloud/fixing-4343-master

fixes #4343