improve label equality detection and add a debug mode

Consecutive labels that are found to be equal during the first pass are
all merged when considering equality of jump instructions in the second
pass.
fix color printing of added/removed methods
do not output headers if nothing changed.