Re-add fancy publishing options to target tabs
Switch back to more advanced implementation

Rather than always publishing to every tab, the publisher can
decide whether to publish to all tabs (default), only the active
tab (publishActive), or only to itself (publishSame)
Merge branch 'master' into testfancy