Bugfix in task logs index
Fix Task API again
Send the attempt of tasks in assignments
Implement API for handling task logfiles