Improve libcontainer namespace and cap format

This changes the format from using the Capability and Namespace types to using a map[string]bool so that the json output is simpler and easier to use.

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)