Adds logging for template errors and changes the event listener from onpopstate to just popstate.
Adds logging for template errors and changes the event listener from onpopstate to just popstate.

sebleier/django-limehouse,sebleier/django-limehouse