DATACMNS-374 - Improved error handling in case of a missing Repository.

We now throw an IllegalArgumentException if we cannot find an appropriate Repository for the given domain class. Previously it just blew up with an NPE without a clear error message.