SQLite connection: allows user to specify LockingModel and SynchronouMode

This is achieved using SQL: