logind: when looking for cgroup prefixes, allocate from stack
logind: filter configured cgroup controller lists
util: make sure result of hostname_cleanup() passes hostname_is_valid()
nspawn: introduce the new /machine/ tree in the cgroup tree and move containers there

Containers will now carry a label (normally derived from the root
directory name, but configurable by the user), and the container's root
cgroup is /machine/<label>. This label is called "machine name", and can
cover both containers and VMs (as soon as libvirt also makes use of
/machine/).

libsystemd-login can be used to query the machine name from a process.

This patch also includes numerous clean-ups for the cgroup code.
update TODO