This adds a beforepluginsetup event as well as beforepluginsetup:$name and pluginsetup:$name events. The drive behind this is improving the ability for people to make cross-plugin dependencies in a more robust manner.