Elaboration of libcontainer Container and ContainerFactory interfaces.
Split off linux-specific pieces (mainly factory) into api_linux.go.