Clean the PutAttachment API

It no longer requires the document itself
Added document-based attachment methods
Use UTC timestamps