Make the CondDB moveable and add test that checks it. Needed by the GitCondDB/DD4hep integration (LBCOMP-21).