Upgraded to Django 1.6.

Modifications for PendingDeprecation warnings. Haven't done any testing besides runserver and clicking around a little.