[libcommhistory] Suppress contacts without the required address type

When selecting recent contacts for IM, we only want contacts that have
IM accounts.
Merge pull request #30 from matthewvogt/suppress

[libcommhistory] Suppress contacts without the required address type