Ganglia backend for StatsD: Emit metadata every send_metadata_interval

Metrics may be sent infrequently, but gmetad expects metric metadata to be sent
at regular intervals. This patch ensures that metadata is emitted every sixty
seconds or fewer. This can be tweaked by setting 'sendMetadataInterval' in the
configuration. Also included: fix to default tmax. If StatsD's flushInterval
exceeds the default tmax, set the default tmax to the flushInterval.

Change-Id: Iacd0db0e7f9ef9a5059abe29ee3f56163a7cbf0b