Rewritten large bits of it to use the AWS PHP SDK v3
Merge remote-tracking branch 'origin/master'