reworking of \OC\Files\Storage\AmazonS3

As requested I reworked \OC\Files\Storage\AmazonS3 (included in files_external).