Update to Django 1.5 and bump other packages

Fixes several security issues, and prepares us for the upcoming Django 1.6 release some time in October.