Managementcontextcleanupintest

Cleans o the LocalManagementContext.

It is done in the same style as done in Hazelcast with tracking HazelcastInstances. They are stored in a static field containing a collections. And there is a terminateAll method which iterates over this collection and terminates them. This is very useful for testing because you don't need to track LocalManagementContext explicitly because it will be done behind the scenes for you.