Fixed task selection

Fixed task selection to get list of tasks as selection changes as you
update tasks.
Began intervals work

Renamed date setting functions to be more self documenting
Added utilities to look at day number and intervals