Remove unnecessary use of defer.inlineCallbacks in pubsub example

A couple of the utility functions were decorated with defer.inlineCallbacks, and yielded deferreds whose results neither of them actually cared about - the functions can just return the deferreds directly.