Use smart-content-change to sync model with editor content

Calling getContents() on the editor is very expensive and doing this twice
a second really kills performance. Only do this when there is changed content.

If you use a 5-year old machine and a large document with lots of images, you'll notice :-)