Refactoring libcontainer to avoid cyclic dependencies in the future.

This change will make future work inside libcontainer easier since the API is separated from the internal implementation.
Probably want to change this to MountConfig ? I don't think we are going to use the word Spec but change to Config.