Change PubSub tutorial to allow communication with a remote ROS master.

This PR changes the init method to use newPublic instead of newPrivate.  Using newPublic with a non-loopback host enables this node to communicate bidirectionally with a remote ROS master, which I think should be allowed given the tutorial.