[libcontacts] Find merge candidates with short form names

Also exclude contacts with the wrong gender, if the gender of the match
is known.