conversation: fix contact search

- when search for contact, use account details from client to check
if account is jams. Because this property would not change for account
and calling account details from daemon inside registeredNameFound
callback will cause deadlock.
- set username for conversation when known, to avoid unnecessary lookup

Change-Id: Iaf11eb48a72196acf29f8967356064c69011b757
4 files changed