Adds ILReportingApplication which extends NSApplication and provides all the hooks required for error reporting
catch both cases of presentError: