templates: fix {% url ... %} tag literals for Django-1.5 compatibility

Should also be compatible with previous django versions due to "{% load url from future %}"