Move stats flags into stats pkg and add influxdb support

Influxdb support was merged into go-metrics.  This adds influxdb support and also moved the flags into the stats pkg so that `main.go` is not as busy.