Appending edits to the patch message.

Motivation:
Currently, if multiple edits are done offline they are later sent one by
one, even for the same document/client combination. We should instead
append the edits produced to the queued up patch message and send on
message to the server.