Added an influxdb_write function

The influxdb_write function write data to an influxDB database. The input data is a named list of data frames where the names are the series names, and the data frames contain the points. influxdb_write is therefore quite symmetric to the  influxdb_query function.