1) fix length check on componentInfo.instances
2) teardown matching events on global event store
Merge pull request #104 from twitter/plug_registry_leaks__fix_registry_storage

leak plugger, registry fixer