Move definition of cluster.Container to resource
So that we can (shortly) use the same definition of containers whether
we get them the cluster or from a manifest, move the Container type to
the `resource`. This also updates the type so that images are parsed
when constructed, i.e., in one place.