Added javadoc to publishermanager
Added a missing method in simplepublisherregistrationmanager. Fixed a potential bug in the subscriptionmanagers