Added 8-neighbor connectivity to RegionGroup.

Fixes #527
Merge pull request #657 from lossyrob/regiongroup-vector-8

Added 8-neighbor connectivity to RegionGroup.