Added support for configuration cache.

Change-Id: Ief2a783161cf5ad75d7ec0181443881caefb6bcc
Reviewed-on: http://review.couchbase.org/32834
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>