ENYO-3305: switch to current doc's project on Ace focus


* ENYO-3305: fix switch to project when opening a document 
* ENYO-3622: fix cosmetic issues mentioned in PR
* ENYO-3305: re-create by cherry picking the original ACE focus change

Related JIRA: https://enyojs.atlassian.net/browse/ENYO-3305

Enyo-DCO-1.1-Signed-off-by: Dominique Dumont <dominique.dumont@hp.com>