CMS-2191 Design for Module system.
Added ResourcePath for referencing resources inside a module.