pubsub: adding listenTo and stopListening

Backported from Backbone.Events for IOC event listening.
Merge pull request #12 from Aintaer/master

trait/pubsub: IOC event listening