Better error reporting when there's a problem loading modules we depend on

If the data source has problems loading, also include the exception we got
from the loading process.  This will help in cases where there's some
kind of error while loading/defining the target class or some of the
classes it depends on.