Fixes for Django 1.7.

Also make sure all tests run in Django < 1.6, and with a
non-4326 SRID setting.