first step toward sane revision handling

dump and store revisions for use with bulk_docs load