[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.
For testing purposes, start with a very small region so that resizing is tested in normal conditions.