Associate tasks with teams. Fix redirect on Tasks::add and Tasks::edit.