Issue #1240: Updated ensure_hostname_in_hosts to use SSH_CONNECTION with failover to hostname -i
Issue #1240: replaced cut with awk
Merge pull request #1245 from carlpulley/ensure_hostname_in_hosts

Issue #1240: Updated ensure_hostname_in_hosts to use SSH_CONNECTION