cupid: Ensure the output catalogue has a PRODUCT header
cupid: Correct indexing of table data when creating output JSA catalogue
cvg: Change API to CVG_FT2BT to indicate the required CHDU on exit
cupid: Fix creation of SHAPE columns for JSA-style catalogues