Adding tasks

This is a poorly tested PR as my christmas party started 10 minutes ago, but it *should* fix the problem with getting the reverse url for a task object, and should make the edit url for a task object more sensible.
The comment is probably unnecessary given the detailed docstring (or, if a change is made, the longer test method name).