Migrate plugin-registry to C++ types and containers.
Remove some pointless locking from the plugin init code.