Adds ability to use ipaddress instead of fqdn in replicaset

This PR adds the ability to use ip address by specifying an attribute [:mongodb][:use_ip_address] instead of the fqdn for replicaset creation.