Reply to subscriptions, and make subs map global

(Not actually global, but available to all the connections at least,
so pubs actually get matched with subs)
Merge pull request #1 from squaremo/share_subs

Reply to subscriptions properly, and make subs map global
Merge remote-tracking branch 'opensensors/master'