ModuleEnvironment changeable at runtime

XD-1577 Review comments
- EnvironmentAwareModuleOptionsMetadataResolver not an InitializingBean