Fixed author/committer mixup.
Refactored author and committer signature code into an own function.