Avoid issues in test-env when trying to register MBean, since Plexus dispose() is currently called once per-test-class
Avoid issues in test-env when trying to unregister MBean, related to other change
Merge pull request #725 from sonatype/safer-mbean-registration

Safer handling of mbean registration