Support reconstruction of containers

This enables the caller of the API to persist and re-create containers without
introducing a file system bias into the API.

Note that much of this function can be turned into a "memo" event type when events
are introduced.

Docker-DCO-1.1-Signed-off-by: Glyn Normington <gnormington@gopivotal.com> (github: glyn)