Keep special __file__ variable when clearing Python locals...

in MantidPlot.
Refs #10012
Merge remote-tracking branch 'origin/bugfix/10012_maintain_file_var_in_script_window'