Improved test software and ran more tests.

I think there is an issue with duplicate nodes, but things are largely working.
Add script to run an arbitrary program after setting up the xsync environment.
Switch to using xsync_connect() to making connections.

Also, clean up library dependencies.