Added method getSubscriptions to class Subscriber

I'm not sure this pull request is correct... I added just one commit and the list of commits is trying to push is huge... if I've done something wrong please feel free to reject it and I will try to sort it out