fix(coeditor): makes sure basepath is set early enough

If CKEDITOR_BASEPATH is not set early enough, the editor will try to
load its theme files via the cache handler, which will fail.