Working on basic reactivity

Trying to get 1 document to be reactive across clients by, on every change, pushing up the full text to the server, and on every change on the server, pulling to every client.

Currently, status is broken.

Signed-off-by: Joel Fischer <joel@livioradio.com>
Codemirror Updated to 3.1

Signed-off-by: Joel Fischer <joel@livioradio.com>
CodeFiles edits changed to object to be overwritten

Whenever the client makes an edit it overwrites the codefile's edits object. Which should then send back down to every client using ObserveChanges.

ISSUE: ObserveChanges gets called twice
Signed-off-by: Joel Fischer <joel@livioradio.com>
Getting closer to doc reactivity

Doc reactivity is still broken, see comments in client.js, but it is much closer.

Added random package for surrogate use as a userId without needing to be logged in for now.

Signed-off-by: Joel Fischer <joel@livioradio.com>
Adding text reactivity works

Deleting text sadly, does not

Signed-off-by: Joel Fischer <joel@livioradio.com>
Update comments

Signed-off-by: Joel Fischer <joel@livioradio.com>
Doc reactivity done, backspaces are recognized

Signed-off-by: Joel Fischer <joel@livioradio.com>
Merge pull request #22 from joeljfischer/doc_reactivity

Doc reactivity