[qtcontacts-sqlite] Enforce single threaded access to contacts database

Ensure that only one thread is accessing the contacts SQLite database
at any given time.
Merge pull request #83 from matthewvogt/single-thread

[qtcontacts-sqlite] Enforce single threaded access to contacts database