Merge remote branch 'cloudant:make-accumulate_more-pure'

This closes #61

Signed-off-by: Eric Avdey <eiri@eiri.ca>