Major work to update Mergely to work with the head of codemirror git.