Merge branch 'release-v33.0.2' into develop
Skip 'USA' place names when Geocoding
Refactor geocode to use a Place class

This is a first step toward a more organized and flexible geocoding
pipeline.  The Place class represents places in MAP, validates their
compliance, and encapsulates their logic.

Geocoders get a shared interface allowing them to be passed to Place
as an enrichment source.
Update enrichments to use Geonames first, before falling back on Bing.

This deals with #7664, #7643, and #7640.

It refractors the Geocoding process substantially, using a Place class
to represent the dpla:Place objects from DPLA MAP and hold their data
for enhancement. It also creates a common interface for geocoder
enhancements in the form of enrich_place(), allowing geocoders to be
used interchangeably in Place's enrich_geodata() method.

Fixes with the various issues in the above tickets by emphasizing
Geonames, and its place hierarchies over Bing. Mainly:

  - Removes coordinates from the name field, instead looking them up and
  enhancing them.
  - Reorders transposed coordinates when they can be identified as
  out-of-range.
  - Merges place hierarchies that are represented in separate spatial
  fields into a single place value.
  - Prevents countries from serializing their coordinates, and from
  being geo-enhanced into a smaller administrative division near the
  center of the country.

General enhancement is also improved, as represented in changes to
several of the test cases:

  - "New York, NY" is enhanced (though not as well as we might achieve
  with some pre-parsing of name strings).
  - Provided city and state values are checked against each other and
  enhanced.
  - Smaller divisions (city/state) are used before country or region
  for enhanced values; and
  - (again) countries are prevented from being identified as smaller
  units within their borders.
Merge pull request #23 from dpla/7664-refactor-geocoding

7664 refactor geocoding
Create release v33.1.0
Merge branch 'release-v33.1.0'