Add polyline "rasterizing" to hash grid.
Enable optimized insert(LineString) for hash grid.
Remove duplicates in HashGrid query.

Add query method with envelope for better compatibility with SpatialIndex.