Changed to virtual hosting style S3 naming

By placing the bucket name in the host name, we avoid region-specific issues when retrieving S3 objects.
Merge pull request #12 from ulsa/patch-1

Changed to virtual hosting style S3 naming