Improve performance by moving all plugins to use refine() rather than refine_app()
Avoid hundreds of calls to gs_plugin_loader_call_vfunc()
and allow plugin setup (especially locking) to be combined.
All these commits are doing the same thing, but I’ve created one commit per plugin for ease of review/reversion/git blame
.