nspawn: split out pty forwaring logic into ptyfwd.c
getty-generator: modernizations
machinectl: add new command to spawn a getty inside a container