Event line numbers in cells are now assigned when added/removed

This allows for line numbers of events in cells to be known before
draw() is called, so any cell can know the assigned line for a
multi-day event and draw it in its own cell with the same line number.