Adjusted {% url %} tags to use the new syntax for Django 1.5 compatibility.

This means that the minimum supported Django version is at least 1.3.