add test programs to .gitignore
changes test to follow new protoypes for getgateways() and pcp_new_server()

see commit e5078f26f64ec2ec3e9eb777a06bbddb0371cd37