parse_palette: Parse the information from a 'palette' definition table.
Description
This function checks the content of a palette definition,
and appends some missing columns.
It is mainly used internally, but can be invoked by the uses to see what it does.