Implement pushing license metadata from CKAN to REMS

The methods that are used for generating a full list of licenses (metadata)
should also now be usable for embedding license information in a catalog item
(dataset metadata structure) if needed.