Added connect and disconnect callbacks, message-events, GetNumPublishers().
Merge pull request #8 from hersh/pub-callbacks

Added connect and disconnect callbacks, message-events, GetNumPublishers()