get rid of the Result wrapper type
javascript: prepare transition to capnproto-serialized results

Currently, proto/match.capnp.go is hand-edited to produce results which
are compatible with the encoding/json serialization
(uppercase/camel-case). This client change deals with both formats, so
that we can regenerate match.capnp.go and use the capnproto-style
serialization.
javascript client: add additional pagination on the bottom