My attempt at bundling common postgis clustering code into a Gem.