Added a simple pubsub functions: publish, subscribe and unsubscribe.
Added Signal.close shorthand for disconnectAll + disconnectAllTo.