Add stubs for listen() method that raise deprecation errors.
Implement Promises/A+.
Make the deferrables returned by publish() and subscribe() compatible with Promises/A+.