Remove a couple unnecessary headers
Use syslog instead of custom debug printing
Add a verbose option

The new option --verbose or -v means the program will print out all its
log messages (everything that it syslog()s) to standard error as well
Add acknowledgment of successful ptrace
Use Cmake to enable or disable _GNU_SOURCE dynamically
Set ptrace capability on installation
Make pwait return exit code of process waited for