Add ability to override hostname via the XML config

This allows you to specify a hostname such as FQDN that will match
Linux hosts using Collectd.  My editor also removed a ton of extra
spaces