DATAREST-331 - Fixed NullPointerException in ResourcesProcessorWrapper.

During type matching in ResourcesProcessorWrapper we now accomodate the scenario that a Resources type is completely different than the Resources type to look for. This resulted in null being returned for the supertype generics lookup and this failed as the corresponding guard was missing.