Add methods for executing a command, interleaving stdout and stderr, and return exit status in addition to command output.

git-svn-id: http://svn.code.sf.net/p/picard/code/trunk@1544 8bce386e-0d6e-43e0-b1ca-608082c0432d
Merge remote-tracking branch 'upstream'