Add range collapse support on from-date and to-date changes. Fix #59

Those changes allows to collapse the dateRange when setting fromDate or toDate property. It seems to truncate tasks properly.

It may be enhanced by avoiding rendering of tasks that are out of range. They are currently displayed at the edge of the Gantt.