Minor improvements to Arrays.binarySearch patch series

This removes invalid exceptions from javalib/ and improves the exception messages from range checks to be more standard compliant. Adds simple test for range checks.