Major cleanup of editor_web_core (now operational_transform_core)