Adds delete link to tasks on overview

deleteTask can return to either the task's project or the overview
depending on a boolean argument