Migrate to Django 1.6

It needs a bunch of changes, let's keep this PR for the migration