Implement navigation history stack (Phase 17)
Add session history tracking with back/forward traversal for the browser
engine. NavigationHistory maintains a bounded stack of HistoryEntry values
(URL, scroll position, state, title) with a current-index cursor.
- Push new entries on link click and form submission navigation
- Save/restore scroll position on traversal
- Discard forward entries when navigating from mid-stack
- Enforce MAX_HISTORY_SIZE (50) to bound memory usage
- Cmd+[ / Cmd+] keyboard shortcuts for back/forward
- 9 unit tests covering all stack operations
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>