Replace Django hashcompat with hashlib

This fixes a DeprecationWarning in Django 1.5, which recommends
no longer using django.utils.hashcompat.
Replace Django Hashcompat with Hashlib
Update usage {% url %} syntax
Update {% url %} syntax. Not bothering with loading from future for now.