Systemd notify oom

Little refactoring and systemd support for oom notifying
Hmm, I don't know, it need only one cgroup as I see.