Implemented PhaseDuration controller + model.
Implemented phase duration service.
Added phase duration write to task life cycle callbacks.