Add stderr capture

Adds support for capturing stderr output, & has bare amount of logic to then do the file comparison between new/ref pairs if there is a .ref file. This could fix #2