Fixed task update through /task/:id/edit.

I added a parameter in tasks_controller.rb for the toggle function to specify whether a redirect back to the lists should be done. This is required since the update function also calls toggle, but does its own redirect back to the show task page.

This is a hack of a fix, and a more elegant solution should be considered.

Fixes #3