Set a sane default for hostname
Use hostname instead of server.dns_name, per @dereklwood
Merge pull request #455 from continuuity/feature/aws-hostname-updates

Set a sane default for hostname, using AWS hostnames, when available