Add Intern unit tests for editor focus preservation on update
editor: Fix focus/blur-related errors

* Clear focus timeout in destroy to avoid blur-on-destroy errors
* Avoid causing errors in editOn editor blur logic