Modified PopCon to allow output on a  database different from reference

These changes are only involving the Conddb functionality for writing/updating tags. The aim is to allow to write the output of a PopCon run into an sqlite file, and upload this with the DropBox.