Flipping dialogs to use a shared_ptr rather than a bare pointer.

Refs #9756
Execute the algorithm on dialog accept signal.

Refs #9756
Use non-modal calls to show algorithm dialogs

The exception is createPropertyInputDialog that is used for scripts and
must remain modal.
Refs #9756
Disable automatic algorithm execution on accept for scripts

Also renamed MantidUI member function call to make its purpose clearer.
Refs #9756
Move ICAT menu items to use non-modal dialogs.

Refs #9756
Remove the algorithm from the manager on a reject call...

but only if we were supposed to execute on accept. If we are executing
on accept then we are assuming that the AlgorithmManager owns the
algorithm pointer as it must survive after the dialog is destroyed.
Refs #9756
Add some comments on the pointer ownership.

Refs #9756
Put back a method that was used by the instrument view.

Refs #9756
Swap order of call now that algorithm executes on dialog accept.

Refs #9756
Fix calls to createDialogByName.

Refs #9756
Fix further calls to createDialogByName.

Refs #9756
Update icon visibility on dialog after error when hitting run.

The updateIconVisibility method now accepts an error string so that
it doesn't have to recheck the property if it already has the error
string from it.
Refs #9756
Merge remote-tracking branch 'origin/feature/9756_non_modal_algorithm_dialogs'