Remove lifetime restriction of memory storage.

* Keys are now stored for the lifetime of the VM
  and not the K2Context.