Add a util/exec interface for testing execs.
Merge pull request #1592 from thockin/utilexec

Add a util/exec interface for testing execs.