completed functionality of \OC\Files\Storage\AmazonS3

As requested I added missing features in \OC\Files\Storage\AmazonS3 and added configuration parameters to be able to not only use Amazon S3.