pubsub status driver base

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
start preparing the CaspaDriver object

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
use mbc-common >1.x's pubsub driver

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
return a CaspaDriver object

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
keep the mubsub syntax

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
this has various channels

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
add publishStatus-specific method

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
_id is always 1

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
make CaspaDriver into an EventEmitter

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
Prepare to send 'ready' message when all setup is done

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
set up status collection

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
make these local vars

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
default id is 2

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
udpate Status defaults

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
`publish` is gone

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
move setup functions to a function of it's own, it's better for definition dependencies

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
id 2
bugfix

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
convert and populate status to publish

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
comments

Signed-off-by: Tomas Neme <lacrymology@gmail.com>