Added a MockClient for communication with the Mock

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