simplifying get_parent_plugins and centralizing filter logic for parent_classes under get_toolbar_plugin_struct. renamed child_only to require_parent as the wording makes more sense in context of the other PluginBase attributes