Added Actions for Tasks

I added several controller actions for changing the status of tasks.