Move upr api's in upr source/header files

Change-Id: Ifd5ed8f8763db6b5e55d66516b59cd7fe1b660cd
Reviewed-on: http://review.couchbase.org/31653
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>