cds_list_licences function

Obtain a list of licences that can be accepted