Allow setting a stop date for recurrence
The user can now set an end date for the recurrence. If marking an occurrence of an item as done and the next occurrence would be after the end date, recurrence stops and the item is marked as done.
Closes #336 (closed)