WIP: [qtcontacts-sqlite] Optionally allow non-durable updates

Unfinished - to reduce I/O load, allow presence updates to be applied to a shared memory buffer, rather than to the database itself.  These updates will not be durable, which is an acceptable trade-off in this situation.
p += sizeof(uint) I guess