Pass options through to TextBuffer::setTextInRange

Merge when https://github.com/atom/text-buffer/pull/34 is merged
Closes #3756