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.
I think you can go ahead and remove this type and finish using `map[string]string` right now until we strongly type everything