Show/Hide Other Layers action now uses undo commands

Needed for consistency with using undo/redo for toggling individual
layer visibility.