Resolve "[icat] atomic datasets"
Closes #1898 (closed)
The new behavior: the ICAT dataset is created pseudo-atomically when SCAN_SAVING.dataset
is set (creates the previous dataset in ICAT). As a result the MetadataManager is most of the time in "STANDBY".
The previous behavior: the ICAT dataset was started when a scan was instantiated (if not already started) and the previous ICAT dataset was closed (when different from the running dataset). As a result the MetadataManager was most of the time in "RUNNING".
Edited by Wout De Nolf