Store plug-in registry in instance
Store plug-in registry in instance

So we don't have to get the instance every time. This does present a problem if the registry instance changes for some reason though.

Contributes to issue CURA-844.

onitake/Uranium,onitake/Uranium