implement GET_REPLICA

Change-Id: I7f836c9dfee1b09dbd3142f354af1e8047eed6fe
Reviewed-on: http://review.couchbase.org/27712
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>