Fix #515: Implement isInfinite for java.lang.Float and Double
Add tests for +-Infinity.toString() - comes from #516.