Broke the UniquePalette logic out from the GrowthImage.
This is in preparation for working on improving the closest-color algorithm.