Make value two-way synced to underlying CodeMirror editor.

While this element is a nice demo, it had a fatal flaw: the `value` wasn't actually syncing back from the mirror when it was edited! Added a listener on the element so that value gets updated both TO the mirror and FROM the mirror.