Django upgrade

Some modifications to get Cyder working on Django 1.6. Maybe we should shoot for 1.7 instead? But anything is better than 1.4.

Tests pass and I haven't been able to tell that anything is wrong from poking around the interface, but a more thorough investigation might be prudent.