Initial implementation of the autosave plugin
Implementing editor saving on focus losing