Bring in hostname as defined in the main configuration by default

supersedes collectd/collectd#530
Merge pull request #681 from pyr/feature/use-collectd-hostname

Bring in hostname as defined in the main configuration by default