Improve callstats number matching code.

Make it a little more efficient, and make sure the ContactInfo and
CallStatsDetails instances always stay in sync.

Change-Id: I0b01e6fc036ce70dccbccf1d9002843331304d50
Merge branch "cm-11.0" into kylin
Merge branch 'kitkat' of https://github.com/KylinMod/android_packages_apps_Dialer into kitkat