[couch_doc] revid_to_str: account for the case when the RevId is a list of binaries


this happens when _bulk_docs is posted with all_or_nothing=true
and validation func for at least one of the docs fails

see https://issues.apache.org/jira/browse/COUCHDB-1772 for details