Fixing https://dev.ckeditor.com/ticket/10633

This fix determines the direction of the text in the Paste dialog and inserts a span with the same direction in the CKEditor. 

It fixes the bug : https://dev.ckeditor.com/ticket/10633