[libcommhistory] Ignore contact accounts without localUid field for resolution

Valid accounts must have a localUid, and the empty field can be confused
with the syntax used for phone numbers, which leads to bad comparisons.
Merge pull request #82 from special/contact-empty-localuid

[libcommhistory] Ignore contact accounts without localUid field for resolution