Move publish/subscribe/unsuscribe directly to pubsub object
Mv tests of Deferred to qunit test