Version 1.0.3
Changing email address: commercial@ to enquiries@
Use more standard incr/add/incr.

Otherwise the prefix/version are not included in the key.
Restore optional use of a remote Overpass server

When we switched to using a local Overpass server for MapIt
Global, the option to use a remote Overpass server instead
was removed.  This restores that option, controlled by settings
in conf/general.yml (LOCAL_OVERPASS, OVERPASS_DB_DIRECTORY
and OVERPASS_SERVER.)  It's still useful to be able to use
the remote server out-of-the-box for testing, and quickly
grabbing the KML for and OSM way or relation.

Thanks to Cesar Martinez Izquierdo (@dispiste) who made a
pull request with similar functionality some time ago, but
who closed it (unmerged) later.  This commit introduces similar
changes, but using urllib2 instead of relying on wget, and
using the MapIt general.yml configuration file instead of a
new configuration module.
Merge branch 'optional-remote-overpass'
Fix fetching of language codes from loc.gov.

Use the CSV-like file from the site rather than the HTML.
The key in save_polygons is a dummy, so label it as such.
Features are labelled ID 1, not 0.
Compare geometries only to 7 decimal places.

Use shapely's almost_equals() function to compare geometries, as
otherwise 'exact' geometries are missed due to floating point.
Fix rate-limited views when the cache backend is DummyCache

Since f7a36c the views decorated with @ratelimit failed if you
were using DummyCache as the backend (the default when DEBUG is True)
with an error like:

  ValueError at /point/4326/0.119,52.205.html
  Key 'rl-xxx.xxx.xxx.xxx-201405200701' not found

That was caused by the code:

  except ValueError:
      cache.add(key, '0', self.expire_after())
      cache.incr(key)

... since the generic cache.incr wants to use the value returned
from the cache for that key, but DummyCache doesn't actually store
values.

Since the rate-limiting wasn't having any effect when using DummyCache
anyway, just return early from the decorator to avoid this error.
Add a command to fix South Tynedale's GSS code from 2013-10

South Tynedale UTE was given the wrong GSS code in the last Ordnance
Survey boundary line update in November 2013. They corrected this in
the May 2014 edition, but we need to fix up our historical version of
the area in order to be able to import that.
Add a control file for the May 2014 Boundary Line
Add a command to fix invalid geometries in 2014-05 boundary line

Some of the geometries the Ordnance Survey provided were invalid,
having duplicated start and end points. This command fixes them up.
Replace Django 1.6 specific .first() with .all()[0]
Move tests into a module.

Preparing to have more tests and better separate them out
Test areas_by_point with the current MAPIT_AREA_SRID

Always testing against SRID=4326 breaks when AREA_SRID or MAPIT_AREA_SRID are set to antything else, like 27700. We can't override_settings either because the settings are used in the migrations that create the database, so when testing they're accessed too early for us to nobble them.
Git-ignore .DS_Store files
Replace print calls with self.stdout.write

This will make testing the command easier and quieter
Raise CommandError for errors with options or input.
Add a basic test for importing KML files