Make ActiveSupport::Cache::CouchbaseStore threadsafe.

Change-Id: Ic75f317d58186008fa80ce814264058c53f7d3bf

Dupe of:
http://review.couchbase.org/#/c/25294/