Add a util/exec interface for testing execs.

Peeled off from ip-per-service
Nope, because again this bounces through ProcessState which is opaque.  Docs say os.ProcessState.Sys() returns a WaitStatus on UNIX.  So this will break on windows, which is fine with me.