PLAT-75 move $start, $end to refreshTemplateLinks

They were being added to the constructor but this creates an
inconsistency when the Task is recreated on the backend. On the backend
the job is recreated by calling the constructor without any arguments.
This requires extra handling which I think complicates the task and will
confuse future readers.