CMS-3365 Create generic module resource lookup. Added more tests.