Feature/save study phenotype

When you save a study, also save the `phenotype_to_color`, `phenotype_order`, etc