Task edit as a route so error handeling works
Fix task edit transaction for clicking around.

Fixes the bug when browsing away from a task edit form and then navigating back to it.
Merge pull request #341 from gannetson/tasks-tweaks

Task edit as a route so error handeling works