use send_to_db in injecting constants
This is a MR corresponding to https://git.xfel.eu/gitlab/detectors/calibration_workshop/issues/170
I have exposed the use for send_to_db to all dark notebooks and changes have to be done to other functions as a result.