Cgroup utils patches

Hi, there are some patches for cgroup utils.

The first commit by Peter will be used in some libvirt tests in virt-test repo.

The other patches fixes few issues with getting correct cgroup path.