web: Factor cgroup plot setup out of DockerClient.

We'll use this for services also.