Add closeTabsToLeft, closeTabsToRight and closeOtherTabs commands

Fixes #851
Why do we need this double tab query?