Initial port to Django 1.6 to support PostGIS 2.x.