Fixing not valid geometries

This pull request was created to overcome the following issues:
* We were ignoring ~800 geometries  that were not valid according postgres
* We were not making geometries valid before intersecting marine pa's with EEZ and TS

After the changes made here we now have a class to repair the geometries right before the countries dissolver:

```
Geospatial::CountryGeometryPopulator.repair 
```

The rake task that calculates stats will always run t.

We have also used the same query (lib/modules/geospatial/templates/repair_geometries.erb) to repair dissolved marine geometries before intersecting with EEZ and TS polygons.