Support for reading composer legend configuration for projects <= 2.4

The list of layers/groups is now restored (previously the configuration would be omitted).