Feature: Task due state, progress and completion 

Description 

A task now reports overdue and dueInDays, computed on every read for the company's calendar day, so a passing due date never changes or freezes a task. progressPercent gives the booked time against the estimate, rounded half up to one decimal and above 100 where the estimate is exceeded. completedAt keeps when a task entered a stage of the category done, and the events TaskCompleted and TaskReopened tell when a task enters or leaves those stages.

Impact 

Tasks completed before this change have no completion instant.