adding the daq version to configuration file and making sure run and configuration documents only get posted to couchDb if the run is an online run