capture stdout and stderr for internal commands

also reworked how errors were propagated back for the commands

fixes https://github.com/intuit/cfn-clone/issues/4