core, main: add a possibility to pass global options to core.

The command-line argument is "options:...".
core: allow setting mode of per-channel worker threads via the global options interface.

The relevant option is "single", like it is with per-source worker threads.