[Compiler] Do module loading in own class & thread
Moves the module parsing stuff from the class Module into its own
class Module loader, which now is a QRunnable and is run through
QThreadPool.
This commit also makes module loading catch up with master and use
exceptions instead of error signals.