js_top_worker: remove RPC layer, use plain message protocol
The project migrated from rpclib/ppx_deriving_rpc JSON-RPC to a simple
message-passing protocol but the old RPC infrastructure remained wired
in. This removes it entirely (~5400 lines deleted):
- Move API types from Toplevel_api_gen into Impl, replace Rpc_lwt.ErrM
with plain Lwt + result
- Replace Jsonrpc/Rpcmarshal JSON serialization with Yojson.Safe
- Rewrite all tests to call Impl.Make(S) directly instead of via RPC
server/client roundtrip
- Rewrite examples and browser tests to use message protocol client
- Delete RPC source files, _old/ directory, and dead opam packages
- Remove rpclib dependencies from all dune and opam files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>