New SetInstrumentParameter algorithm

Allows instrument parameters to be easily set using an algorithm.

re #9604
re #9064 remove previous parameter before adding
re #9064 Fixed a const error
Merge remote-tracking branch 'origin/feature/9064_SetInstrumentParameter'