gui microscope: clean up code with a new DelphiStateController

Too many "if role == "delphi" " => use a special class for Delphi that is based on the SECOM.

Also fixes loading the calibration data when the sample is already loaded.

Also fixes metadata of rotation correction being incorrectly set to the CCD instead of the ebeam.