Change configuration to use ConfigurationProperties instead of direct access to environment for MBean export
Make EndpointMBeanExportAutoConfiguration public
Fix some tests to prevent JMX registration issues