Refactored shared detection logic. Fixed linestring, multilinestring, and multipoint bugs. Added more geojson unit tests.