[contactsd] Reduce complexity of sim import plugin

This commit replaces asynchronous calls to the qtcontacts-sqlite
database with synchronous calls, reducing the amount of internal
state which is tracked by the plugin, and reducing complexity.
Merge pull request #43 from chriadam/synchronous

[contactsd] Reduce complexity of sim import plugin