Added ToVector operation

Also added a RegionGroup operation, which sets a raster's contiguous regions to the same value.

Currently only supports 4-neighborhood contiguous regions (vectorization on 8-neighborhood regions would take adding that ability to RegionGroup).