Prevent 'Access Denied' error in IE8 when used inside of an iFrame.

This commit wraps the `document.selection.createRange();` call in a try/catch to prevent exceptions when library is used inside of an iFrame. If `createRange` does error out, the `inputSel.get` method will ultimately return `{ begin: 0, end: 0}` as it always has.