Support for metadata in S3 and POST:ing to a bucket

I have added support for metadata in S3 and support for uploading by POST:ing.