Fix to tile retrieval for WMTS via couchdb through type errors due to x, y, z being strings.
Adding support for GDAL 1.10 DLL loading in OGR.
Improvements to init time for large services with couchdb caches.

1) Only initialise the DB when a connection is required, not once for every cache at service initialisation.

2) Lock to prevent initialising more connections than required (e.g. when multi simultaneous connections are received).
Making WindowsErrors from cleanup_lockdir non-fatal, logging them instead.
Refresh timestamp for multiapp to avoid concurrent requests on a fresh YAML each refreshing the service to no end.

Plus workaround 'tuple' error in _call__ (not a good hack)
Merge branch 'couchdb-init'
Merge branch 'couchdb-wmts-doc-url'
Merge branch 'multiapp-service-reinit'
Merge branch 'non-fatal-cleanup-lockdir'