Fix previous bugfix

Previous bugfix didn't work for TP root URLs.
Restore get_absolute_url() for Directory

This is necessary since the trail templatetag fails in some cases due to
lack of this method on Directory objects.