Add the upr response handler api

Change-Id: I4055d0e562ce34fddd8d7b64bd5d35d6b5c0dd15
Reviewed-on: http://review.couchbase.org/29878
Reviewed-by: abhinav dangeti <abhinav@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>