refactor: extract shared grid navigation into app/lib/grid-nav.js
Extract duplicated vim-style grid navigation, toolbar setup, and view
preferences code from groups/home.js and search/home.js into a shared
module. Both consumers now import from peek://app/lib/grid-nav.js.
Shared module exports:
- getCards, updateSelection, activateSelected, getGridColumns
- createKeydownHandler (with callbacks for consumer-specific behavior)
- setupToolbar (parameterized with viewPrefs, sortOptions, callbacks)
- createViewPrefs (localStorage key + defaults)