Django 1.6 compatibility for building

With these commits, Django 1.6 is now able to build and run an instance of Pootle.

There will probably be more issues when using Pootle but at least now it can be tested.

1.6 has been added to the test matrix as well so we can now test on every backend on 1.6 and expect it all to be green.