refactored saveAttachment to work with rev parameter
add mime dependency
version bump
saveAttachment now callbacks with id and rev of doc