Refactor preference and introduce preference list.
Refactored view shortcut management to allow shortcuts for 2D views.
Remove view actions from shortcut editor and move implementations into separate files.
Cosmetic changes.