graphite api: add support for sending metrics over UDP

There already exists an API for sending metrics to InfluxDB over TCP using
Graphite plaintext protocol. Sometimes it is more convenient to send metrics
over UDP, so adding that support for the Graphite as well. For now at least,
using the same port for UDP traffic than for TCP to make configuration really
simple.

UDP listener is disabled by default, but can be turned on by setting udp_enabled
to true in graphite plugin configuration.