Fixed a bug that was occuring when the data range of totals formula had length 1 (IllegalStateException). Added a test for ColumnTotalsDataRangeImpl. Minor renaming. Now ColumnTotalsDataRange has two methods to end itself (endOnPreviousRow() and endOnCurrentRow()) and one method to retrieve the state of the data range (end marked or not).