SI-7372 fix wrong insertion point for binary & linear search.

It should return the position the value would have if it was a part of
the sequence. Somehow even the test was wrong.
SI-7372 make binarySearch methods use the same parameters for the same things.

The public facing binarySearch method used an inclusive 'from'
parameter, while the internal @tailrec one used an *exclusive*
'from' parameter. No wonder there was an off-by-one error somewhere.

This makes both methods use the same exclusive 'from' parameter.
Merge pull request #3758 from gourlaysama/wip/t7372

SI-7372 fix wrong insertion point for binary & linear search.