adding fileoutput option

This PR adds a new command line option (`-o, --output <file>`) that will output the JSON test results to the specified `<file>`.  All reporter functionality should be unaffected.