Allow instrumentation to be used with Attach API

Update InstrumentationSavingAgent to allow it to be used with the
Attach API

Issue: SPR-11083
Merge pull request #409 from cdupuis/SPR-11083

* SPR-11083:
  Allow instrumentation to be used with Attach API