universal binary search, for exact match, lower bound and upper bound (seriously why is there none in the rtl for that??)

--HG--
branch : trunks
simplified binary search, arrayBinarySearch functions for all arrays

--HG--
branch : trunks