[qtcontacts-sqlite] Improve phone number matching

The phone number matching algorithm has been improved to perform some
normalization of inputs to improve accuracy.