Plugin Modify Endpoint: preparing to merge plugin install method

We will be using the modify endpoint for installs. We may need to override $needed_capabilities in the callback.
And we may need to set an action based on the path