JUCEApplication stuff in juce_core

The juce_core module has some JUCEApplication specific stuff like the exception catcher and what not. Obviously those won’t work without the appropriate module (?)

I’m pretty sure the core module is self-contained - I’ve used it in a few simple command-line utils with no other modules (unless I’ve been unwittingly pulling in other files?)

The JUCE_CATCH_EXCEPTION macro calls JUCEApplication::sendUnhandledException()

Ah, ok. Will try to disentangle that!

…nope, it was already disentangled (??)… There’s already a check that will disable that code unless you’ve got the gui module (line 212 of juce_PlatformDefs.h)