pubsub: adding listenTo and stopListening

Backported from Backbone.Events for IOC event listening.