Try to detect systemd by checking for its named cgroup hierarchy.

Fixes #342
Merge pull request #349 from vmarmol/systemd

Try to detect systemd by checking for its named cgroup hierarchy.