Fix error calculating scan dimensions - Fix for Scatter-359

getScanInformation(scan) always returned 1D scan info
GDA-5996 Revert "MXGDA-1950 restore running scan activates Scan Plot view"

This reverts commit c8af85ac89c3e8fa8d0e2087e167fc105c354f0f.
GDA-5996 restore running scan opens Scan Plot view
Merge branch 'gda-8.40' of ssh://dasc-git.diamond.ac.uk/gda/gda-core into gda-8.40
Remove warnings from and clean up NexusDataWriter