CMS-3365 Create generic module resource lookup. Changed layout descriptor services.