Listen for grammar-changed events on the editor models

Previously the editor view event bubbling to the workspace view was used
which doesn't work with the new react-based editor view.

Listening on the model is better anyway and the view emitting this event was
probably a mistake originally anyway.

Closes #7