MULE-7293: Execute dispose operation only on lost objects due to unregis...

...tered objects could receive dispose outside. Also added a test to validate dispose on lost objects.