Make it possible to use Exception details on custom 404 handlers.

This would be an alternative way to solve the question on SO, without using the ``contrib.message`` framework.
``
http://stackoverflow.com/questions/1621173/404-error-messages-in-django
``