Factor out a method for converting PersonIdent to GitPerson Created a new, common class for this kind of thing; hopefully it grows some more methods. Change-Id: I0a7d99e78a54694f898fd56822ae9cbd42f2df05