MB-20397 - added TestRefCounting
MB-20397 - added TestRefCounting

Change-Id: I4a1844c4ace44d43416eeeea13842640029a6532
Reviewed-on: http://review.couchbase.org/66519
Reviewed-by: Marty Schoch <ba9951d7d66412e2a57aea395f01176a793cf5eb@gmail.com>
Tested-by: Steve Yen <ef850f73f7832052d3c6d9b5ddd3a1716d9a57f1@gmail.com>

steveyen/moss,couchbaselabs/moss,steveyen/moss