pubsub: Implementing subscription listing.

@silvolu, we should be covering pubsub mostly on regression tests, no unit tests.