[libcontacts] Track whether contacts have valid IM accounts

Although QContactStatusFlags reports whether an account has any IM
accounts configured, we need to also know whether any of those accounts
are connected to valid telepathy accounts.
Merge pull request #62 from matthewvogt/valid-im

[libcontacts] Track whether contacts have valid IM accounts