Statsd: avoid doing a division by zero when calculating the average if we didn't get any values.
Statsd: avoid doing a division by zero when calculating the percentile with an empty histogram.
Merge pull request #655 from dothebart/statsd_fix_division_by_zero

Statsd: avoid doing a division by zero when calculating the average
Bring in hostname as defined in the main configuration by default

supersedes collectd/collectd#530
{GPL, other}: Relicense to MIT license.

This change relicenses all files where the sole owner(s) are Sebastian
Harl and/or Florian Forster to the MIT license. This change happens
according to prior agreement with Sebastian.
collectd-tg: Fix license in usage output.
Also relicense all of Pierre-Yves Ritschard's work to the MIT license.
Merge pull request #681 from pyr/feature/use-collectd-hostname

Bring in hostname as defined in the main configuration by default
bindings/perl/lib/Collectd/Unixsock.pm: Relicense to MIT.
Merge remote-tracking branch 'github/pr/682'