Merge legends

We now merge legend files in addition to report files (if they are present).

The temporary command can be removed once the other commit makes it into the cle snapshot.
The headers are required to be the same (the command should die in another place), but maybe it is not a bad idea to double check that here as well?