Validate IP addresses before use.

Issue DE125
https://github.com/rcbops/chef-cookbooks/issues/390

Checks that the IP addresses are valid IPv4 addresses and bombs out if they aren't.