[bp/r51167][FIX] selection: Test for selectionStart and selectionEnd before the IE specific code, because IE11 no longer has document.selection.createRange or the rest of the previous range stuff, but does (thankfully) now support selectionStart etc like other browsers

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/9.x@51990 b456876b-0849-0410-b77d-98878d47e9d5