Add pty-controller-hangup tests
This tests the behavior of pty slaves when master is closed, which should result in EOF reads, erroring (?) writes and polling POLLHUP.
This tests the behavior of pty slaves when master is closed, which should result in EOF reads, erroring (?) writes and polling POLLHUP.