Add a util/exec interface for testing execs.

Peeled off from ip-per-service
I don't think it is important, obviously.  If it is, let someone show me why :)