Implementation of _revs_diff endpoint. Innitial commit.