Introduce workaround for CRBUG/413156 to |editor.setDomSelection()|.
Add leading/trailing whitespaces into selected range.
testing: Fix typo in "editor_unittest.js"
editing: Get rid of redundant function |editor.loadDomSelection()|.