Output moved to the CSVConverter class as the getCLIOutput() method.
Added use of exception throwing and catching for more graceful failure.
No longer using $GLOBAL variable to record whether we're in testing mode.