(CFACT-41) Use resolv.conf for domain name fact resolution.

If we can't resolve the hostname, look for domain and search entires in
/etc/resolv.conf.

This allow us to conform to what facter is doing even when the hostname
is not resolvable.
Should we suppress this warning message in the `EAI_NONAME` case since we're doing a best effort now with `resolv.conf`?