CRM-11611 - Consolidate code which populates PaletteFieldCollection