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.
Should we do the same as the Mount struct and just declare this as `type Network network.Network` ??