Added extra check for Selection.setRng to ensure it works well in WebKit browsers.
Added extra check for Selection.setRng to ensure it works well in WebKit browsers.

4teamwork/tinymce,4teamwork/tinymce