WFCORE-216 Add ModelValidator to ensure resource model is correct

for review needs
Is this leftover from earlier work?