XD-2196: Refactoring of ContainerRegistrar

Moved module creation to ModuleDeployer
XD-2197: Introduce ModuleFactory

refactoring ModuleFactory - made SimpleModule abstract

Some reformatting per Patrick's comments

minor tweaks

rename classLoader to parentClassLoader in ModuleFactory

restored CompositeModule constructor to public and removed PassthruModuleOptionsMetadataResolver

 fix CompositeModuleTests

Refactoring of ModuleDeployer

* Addressed thread safety issues
* Optimized iteration of plugins for modules

 clean up per MF comments