Handle old versions of the libcontainer config.

Libcontainer recently changed its config by changing the type of a
field. This commit tries parsing the config as the new and old types.
Yeah...this is like the third such thing we have sadly. Added the TODO.