Static accessor to lookup SQLiteDatabase in dbmap
(re)enable changes to support rowsAffected for INSERT & DELETE statements:
Fixes to run SQL batch in background thread from threadpool & send JS results in UI thread
New function executeSqlBatchInBackground() for background processing (currently disabled)
Merge branch 'static-dbmap-fix' into api-fix-1 [with conflicts resolved & TBD changes marked]
Merge branch 'api-fix-1' into sqlg-test-1 [with minor dbmap & other conflict fixes]
Expose static db accessor as getSQLiteDatabase() & cleanup processing
Expose public static db accessor getSQLiteGlueDatabase() & minor cleanups
Merge branch 'api-fix-1' into sqlg-test-1 [with minor conflict fixes]