fix(tests): windows test script and local host usage

test.ps1 - windows powershell script equivalent to test.sh

tests/functional/util.go - windows fails trying to open socket on host 0.0.0.0; replaced with localhost(127.0.0.1)
https://code.google.com/p/go/issues/detail?id=6290
http://msdn.microsoft.com/en-us/library/windows/desktop/ms740668(v=vs.85).aspx

tests/server_utils.go - it seems to take longer for go routine / listener to be ready in windows; proper fix would be to be able to wait on a channel for the server to be available