A new base class QgsMetadataBase has been split off QgsLayerMetadata, containing all non-layer specific metadata items. This allows us to reuse the common metadata settings for other non-layer items, e.g. projects.