[CDE-340] External editor is not behaving correctly with system-based resources
   - now all calls to EditorApi check if the user has the rigth permissions
   - added unit tests
Merge pull request #143 from davidmsantos90/master

[CDE-340]: External editor now behaving correctly with system-based resources