rake/BuildOutput: merge messages with same head/tail text (better output)