Add check for empty or invalid lines
Add check for empty or invalid lines

When iterating over lines of GeoJSON, check that the line is not blank
and doesn't contain rogue punctuation before continuing. Fixes an
issue where the first chunk of the bulk upload would be invalid due to
a rogue comma left over from the sed expression.

maxogden/shp2geocouch