Insert into memcache when pasting

Works around eventual consistency of the data store, which frequently
leads to 404 errors after a paste.