Eliminate resolve_url import dependency

This fixes Django 1.4 support, as django.shortcuts.resolve_url
does not exist in that version.