Make inside markers end-point exclusive with respect to text insertions

Since 'inside' markers are invalidated when a change occurs inside them, we want to avoid invalidation if possible by assuming that insertions at an 'inside' marker's start or end points are outside the marker.

/cc @kevinsawicki