Update host/ip pairing rather than add the hostname a second time
Added replace kwarg whether to first remove any existing hostnames that match
Split out options. Also added some debug logging.
Removed debug lines. Also removed very odd problematic line. Shouldnt need to exist.
If not passing a `hostname`, use `None` in `getaddrinfo`.

On my machine, passing an empty string to `getaddrinfo` raises errno 2, "No such file or directory". Use `None` if `hostname` is a string.
Avoid running qemu-img when hypervisor is specified as esxi.

This is shown in the logs before this patch:

```
qemu-img: Could not open '[0] vm1/vm1.vmdk': No such file or directory
```

And the result from running virt.get_disks vm1 was before this patch:

```
build04:
    ----------
    sda:
        ----------
        file:
            [0] vm1/vm1.vmdk
        image:
            Does not exist
```

After the patch is applied:

```
build04:
    ----------
    sda:
        ----------
        file:
            [0] vm1/vm1.vmdk
```
Remove print()
Unify name: emulator vs hypervisor
Merge pull request #6715 from s0undt3ch/hotfix/lookup_family-No-such-file-or-directory

If not passing a `hostname`, use `None` in `getaddrinfo`.
Merge pull request #6711 from robertkeizer/mysql_returner_fix

Mysql returner fix
4 spaces, not 2 spaces. Use single quotes,
move json decode wrappings to utils
Add state.pkg
clean up state package creation
clean up and add test=True capability to state.pkg
Include secondary IP addresses in ip_addrs{,6}

These functions were not iterating over the list of secondary IP
addresses, causing grains['ipv4'] and grains['ipv6'], as well as the
module execution functions network.ip_addrs and network.ip_addrs6 to
fail to include these IPs. This commit fixes that oversight.
Added warning for import error in ldap auth
Merge pull request #6719 from terminalmage/issue6656

Include secondary IP addresses in ip_addrs{,6}
Merge pull request #6716 from UtahDave/develop

4 spaces, not 2 spaces. Use single quotes,
Fix undefined variable

88399f3 introduced an undefined variable, this fixes that.