Re #8686. Added error report to ApplicationWindow.

This was done by adding a slot for the error signal and turning
it into a log message and exiting.
Merge branch 'feature/8686_mantidplot_returns' into develop