Adding tasks - editing not working because of task lookup problems.

1.  Adds the usual for display and editing tasks.  (*Really* needs pagination.)
2.  Editing doesn't work - Django complains that it cannot look up the task, even though it's being given `id` (which is the PK).