Bug fix in ValidateIPv4Address.ps1, formatting fixes

-Bug fix in ValidateIPv4Address.ps1: will now handle a machine that has
more than 1 IP address correctly.
-Switched scripts to using the application's Logger.Log function instead
of Write-Output/Write-Error, as these exhibit bugs when printing from
inside the scope of a function in Powershell land.