Add pidof command

This command supports only rudimentary searching and the -s option. It
includes a partial implementation of -x, but it is faulty and overly
liberal in what it includes.