Return whole file if range request cannot be granted due to encryption

Whenenver range headers are set and encryption is enabled, it is not
possible to automatically fseek() to the proper position.

To avoid returning corrupt/invalid data or causing a decryption error,
the range headers are stripped so that the SabreDAV code in httpGet()
returns the whole file.
add unit test for #8325
use S3Client::encodeKey(), fixes #8325
Fix STORAGE_* constants usage by moving those constants into \OC\Files\Filesystem.

As constants not defined within a class cannot be automatically found by the
autoloader moving those constants into a class makes them accessible to
code which uses them.

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>
Use tabs for indentation.

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>
move to public namespace
fix typo
Add doc for \OCP\Files\FileInfo space constants
Add note about the term "Cheers" at end of mail

* for translators
* fixes #8689
Merge pull request #10423 from owncloud/urlencode_s3_copyobject_copysource

urlencode s3 copyObject() copysource
Merge pull request #10546 from owncloud/add-note-about-cheers

Add note about the term "Cheers" at end of mail
Merge pull request #10422 from owncloud/dav-disablerangerequestwhennotsupported

Return whole file if range request cannot be granted due to encryption
full opacity for the hovered/focused app as well for better contrast
Merge pull request #10557 from owncloud/better-hover-apps

full opacity for the hovered/focused app as well for better contrast
fix HTML structure by rmv. obsolete input end tag
Removing `x-webkit-speech` attribute #10561

Remove obsolete (from Google Chrome 36 on) attribute due to security vulnerability
Merge pull request #10518 from owncloud/fix_storage_const_autoload

Fix storage const autoload
Merge pull request #10562 from Volker-E/master

fixing #10561 & HTML structure
[tx-robot] updated from transifex
reformat