[libcommhistory] Ensure contacts order is preserved

Return contacts to match the order found by tracker, rather than the
order in which they're returned by QContactsManager.