Merge pull request #198 from ryedin/master

sync socket/channel state on client after disconnect/reconnect
remove console logging for client disconnect; remove debugger
added Promise class from mozilla
use promises in socket.io + channels