Use $log.debug instead of console.log

For voryx/angular-wamp#4
Merge pull request #5 from taion/jjia/logging

Use $log.debug instead of console.log
Broadcast connection events in digest

For voryx/angular-wamp#6
Merge pull request #7 from taion/jjia/digest

Broadcast connection events in digest
Subscriptions will resubscribe on reconnection now #8
The subscribedCallback now accepts a promise instead of a Subscription object #8
Autobahn now uses the $q promise with the ``use_deferred`` option.  #3