Add functionality required for deploying pasteup via magenta

 - More flexible cache-control settings based on pattern matching of key name
 - Ability to lookup target bucket via a specified resource
Make improvements as suggested by @bmjames
Merge pull request #96 from guardian/sh-s3-upload-pasteup

Add functionality required for deploying pasteup via magenta