DATACMNS-319 - Made Repositories less greedy in looking up beans.

We now don't try to eagerly lookup the beans Repositories shall capture in the constructor anymore but leniently look them up on the first request. Update tests for classes using Repositories alongside.