[SCM-682] Maven release fails when releasing from a named branch

Applying patch suggested by Esteban Porcelli, consisting in overriding HgConsumer.consumeLine method, which removes characters when it shoudln't