[AUR-3018] Joins in CouchDB

- Revised retun values when a document is inserted without it being in the test data (now it returns id and rev)

Change-Id: Idfcf9050ff8be1144f38597308c107a47e8961a8