Fix Django 1.5 support, use new URL syntax in templates.
Fix Django 1.6 support, use new django.conf.urls import path