Pass wait4/waitpid to the kernel

This PR fixes #503 by allowing tracees to actually wait for children. We no longer support (pre-2.5.46) implementations of ptrace that had a flat process hierarchy.