use couch_util:to_hex for rev_id generation

the hexiolist method previously used was failing on data
that came from a snapshot of our production database