add unit test for #8325
use S3Client::encodeKey(), fixes #8325
Merge pull request #10423 from owncloud/urlencode_s3_copyobject_copysource

urlencode s3 copyObject() copysource