XD-163 Add CompositeModule

add in-memory repository for module definitions

XD-937 injecting ModuleDefinitionRepository instead of ModuleRegistry to ModulesController (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
added CompositeModuleDeploymentRequest
refactored imports for spring4 updates
ordered modules