XD-163 Add CompositeModule

XD-937 injecting ModuleDefinitionRepository instead of ModuleRegistry to ModulesController (and XDStreamParser)

add in-memory repository for module definitions

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 store param)

updated code in this branch for ModuleType changes

added RedisModuleDefinitionRepository

added CompositeModuleDeploymentRequest

refactored imports for spring4 updates

ordered modules

now determining composite module's type asap (in controller)

added ModulesController test

added compose module test in ModuleCommandTests

added ComposedModuleStreamTests
Add feedback on inferred module type