Adds an API for temporary session storage.

  Bug: 12064183

This is required so that we can have all modules that have sessions
use the same logic for creating and deleting them.

Change-Id: I20591310d6b4534e564ab60608049eec87f823f9
6 files changed