Modifications to upr api based on memcached changes

Change-Id: I8c2430a843bfee4fef716747bc9e976ad34469db
Reviewed-on: http://review.couchbase.org/29700
Reviewed-by: David Liao <david.liao@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>