Calculate Content-MD5 header if not provided for S3

Affects only operations that accept a ContentMD5 parameter.
Previously only the deleteObjects operation was calculating
the Content-MD5 header. This change ensures that the header will also
be built for operations that accept a ContentMD5 param but do not
have it set.

Fixes #67