influxdb 0.4.0

Closes #25996.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
influxdb: update bottle.
influxdb: some cleanups.