Add method CGroupDataModel::isAvailable
This returns true if the root is pointing to a valid path. The idea being that non-systemd systems won't have applications scoped correctly, nor a relevant user slice.
This also no-ops if the directory is not available, which fixes a bug, hence backporting.
(cherry picked from commit 6d429604)