Add support for mergetags.

Bug: https://bugs.launchpad.net/dulwich/+bug/963525
Simplify parsing for multi-line fields.