[GEOS-4149] Make continuous wrapping for raster layers work like it does for vector layers (and general projection handling improvements)