Implementation of _revs_diff endpoint. Innitial commit.

Let's use `$data->getEntityKeys()` here instead. That's better than accessing the property directly.