Adds resolve behavior to ColorCollection when writing as a cdl
Adds ColorCollection.id_list tests