[contactsd] Fetch all contacts to be updated together

When changing the status of all contacts for an offline account, fetch
all the contacts to be modified together rather than independently.

Also improve detail type restriction on contact fetch queries.