Fix gadget.(subscribe|unsubscribe|publish|republish). Closes troopjs/troopjs-core#80