Fix errors on 404s by importing handler404

This is surprising, since handler404 isn't actually used in the urls.py
file, but apparently it needs to be imported there anyway in older
versions of Django or you get the error reported here:

   https://code.djangoproject.com/ticket/5350