Add closeTabsToLeft, closeTabsToRight and closeOtherTabs commands

Fixes #851
`activeTabs` is fine for a name.