Cache the JSON blocks using memcached

JSON blocks are now saved to the cache when the JSON block is edited
or when the JSON block is loaded and doesn't already exist in the
cache.

Change-Id: Ia7c34bf295aab4ef4965a7331f5369a19492b69c
Merge "Cache the JSON blocks using memcached"