[qtcontacts-sqlite] Export temporary table functions

They are also useful outside the reader.
[qtcontacts-sqlite] Do not use execBatch for select queries

execBatch does not provide any guarantee that the returned results
correspond to the result of a batched query execution.  Instead, use
a temporary table to traverse a sequence of contact IDs.
[qtcontacts-sqlite] Remove unnecessary nested selects
[qtcontacts-sqlite] Use prepared queries for batch selects
[qtcontacts-sqlite] Include cumulative time in fetchtimes output
[qtcontacts-sqlite] Do not drop temporary tables after use
Merge pull request #60 from matthewvogt/execbatch-removal

[qtcontacts-sqlite] Do not use execBatch for select queries