[contactsd] Improve contact change processing delay logic

Reduce the amount of contact changes we process individually.
Merge pull request #29 from matthewvogt/merge-queries

[contactsd] Improve contact change processing delay logic