Fix 391 and 394
Add exception handling for the scan steps: configure, scan, analyze
Scans with exceptions still crash (as they should) but resources are freed (file handles, bdaq hardware, ...).
Remove exception handling for module plotting and update plotting module to use new config structure.
Fixes #391 (closed) #394 (closed)
Edited by David-Leon Pohl