Make S3 endpoint configurable

The endpoint of the S3 blobstore client is currently fixed to s3.amazon.com. This commit makes it configurable to store blob files in S3-compatible blobstores such as Cloudian and RiakCS.