CMS-3365 Create generic module resource lookup. Added tests for part descriptor.