Error handling in module loader

Fix for #516

We now catch `ReflectionTypeLoadException`, write out the details to the logger (looking at `LoaderExceptions`) and return empty. This means an invalid module doesn't blow up scriptcs, as it's ignored.