Add browser test integration and cell dependency tests
Browser tests:
- Add dune configuration for browser tests with Playwright
- Fix test_worker.ml to include js_of_ocaml-toplevel library
(required for toplevel initialization)
- Register all RPC methods in test worker
- Tests run via `dune build @runbrowser`
Cell dependency tests:
- Add node_dependency_test.ml with 26 tests covering:
- Linear dependencies (c1 → c2 → c3 → c4)
- Diamond dependencies (d1 → d2,d3 → d4)
- Missing dependency error handling
- Type update propagation
- Type shadowing across cells
- Complex module dependency graphs
- Key finding: dependencies are explicit, not transitive
Also adds docs/test-gaps-design.md documenting test coverage
gaps and implementation plan.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>