Added ability to write to Compilation Exceptions to an external log file.

Using the -writecex arg, the app will assume it is a REPL command; the same way it does for a -log arg. It will then display the user the path where it will write the log.

Assistance and advice needed on how to unit test this.