XD-958 Testing path for tmp directory for trailing /
XD-163 Add CompositeModule
wip
adding in-mem repo for modules
injecting ModuleDefinitionRepository instead of ModuleRegistry to ModulesController (XD-937) and XDStreamParser
InMemoryModuleDefinitionRepository delegates...

1. to superclass for composed modules

2. to moduleRegistry for 'normal' modules
modified resource assembler for ID by type & name

now defining moduleDefinitionRepository in shared config (based on transport)
updated code in this branch for ModuleType changes

added RedisModuleDefinitionRepository