added naive implementation of _revs_diff to rest_couch