LUCENE-3582: Normalize NaN values in NumericUtils.floatToSortableInt() / NumericUtils.doubleToSortableLong(). Fix NumericRangeQuery to not falsely hit NaNs on half-open ranges (one bound is null)