Python 3 support

Also remove requirement for GDAL/memcached (will automatically work if they're installed), work around an issue with Travis echo YAML indenting, and backport update_or_create to fix errors in Django 1.7.1.