fix a bug in dockershim which causes summary api not working properly.
This commit changes how the shim constructs and parses docker container names by using the new "Metadata" types.