CMS-1505 - refactoring for changes related CodeMirror + CMS-2045 Text extraction tests for Microsoft Office File Formats