Fix cgroup root path detection.
The current logic assumes that cpu cgroup mnt point is <basepath>/cpu.
On some systems, its <basepath>/cpu,cpuacct (CentOS 7).
Merge pull request #388 from rjnagal/validate

Fix cgroup root path detection.