Add helper function chtype2colors
Add helper function chtype2colors

Takes an integer of type chtype or attr_t, extracts the color
pair number and returns a 2 element list with the colors in the
pair.

McParen/croatoan