(#1849) - Support opts.rev in db.put()