Hide internal implementation classes in ExtensionRegistry
Don't use deprecated ExtensionRegistry constructor
Remove deprecated getExtensionContext variant
ExtensionRegistry should not cache any ManagementResourceRegistration so it won't use the wrong one after it's cloned