Update container to have ID and change factory to session

The session idea comes from libct and seems like a better term for what
this object will be doing.

Signed-off-by: Michael Crosby <michael@docker.com>