[PATCH 6/8] mshare: selftests: Add some helper functions for reading and controlling cgroup