Fix/command out err (#289)
Fix/command out err (#289)

* fixing saving of output for BuildTestCommand

Signed-off-by: vsoch <9c1581d433637ebb0bd02436a7140331ccd16cb6@stanford.edu>

* fixing issues with returncode for BuildTestCommand

Signed-off-by: vsoch <9c1581d433637ebb0bd02436a7140331ccd16cb6@stanford.edu>

* adding universal newlines parameter to buildtest command to account for universal newlines

Signed-off-by: vsoch <9c1581d433637ebb0bd02436a7140331ccd16cb6@stanford.edu>

* preparing to rebase to get read_file from buildtest.utils.file

Signed-off-by: vsoch <9c1581d433637ebb0bd02436a7140331ccd16cb6@stanford.edu>

* adding custom capture to get stderr and stdout

Signed-off-by: vsoch <9c1581d433637ebb0bd02436a7140331ccd16cb6@stanford.edu>

* Changing POpen to Popen (typo)

* Addressing nit for order of imports.

* black probably wants two newlines
HPC-buildtest/buildtest-framework,HPC-buildtest/buildtest-framework,HPC-buildtest/buildtest-framework,HPC-buildtest/buildtest-framework