Fix for inconsistency in converting to Integer (or Long or Short) from Numeric and String

I noticed that the code for Tuples.toInteger is not entirely consistent.
For example Tuples.toInteger(71) and Tuples.toInteger("71") give the same result.
But Tuples.toInteger(71.5) will work while Tuples.toInteger("71.5") will throw an exception.