Added debugging statements for publishing. Refs #9376.
Merge branch 'feature/9376_icat_create_mantid_dataset' into develop