Feature request #683 : autosave when the editor lose focus

Add a new feature : auto-save when the editor lose focus

Warn: Will save the current file at *all* editor focus out event.