Fixed broken link generation in tasklistings

* Made link generation configurable and add tests.
* Dropped separate link generation helper for task listings and use `get_link` method on task object.

@lukasgraf @deiferni please have a look ...