Added MultiProcess plugin API for registering callbacks to be run at start/stop by each worker process.