refactor(engine/container): extract JMX core

make contianer implementation reusable in OSGi environment