Fix for Django 1.5: {% url %} parameter needs to be quoted
Fixing a few minor Django 1.5 incompatibilities