Add clearSubscriptions method

This pull request implements a `clearSubscriptions` method, that has been requested in #41 and #60 


Needs updating now.