SQLite: Enable fdatasync for SQLite

SQLite library recommends usage of fdatasync when available.
Since it is available for linux, enable it. This gives better
performance compared to fsync.

Change-Id: I47d5fb9cb1e8331729b54d77f10f7499e028269d
Merge branch 'jb-mr1-release' of https://android.googlesource.com/platform/external/sqlite into mr1-staging
Merge tag 'android-4.3_r2.1' into cm-10.2

Android 4.3 release 2.1
Add hooks for database open and pragma handling

Change-Id: I0c1843a1c17e6cb7786ea5c66d229282b1fa0d32
SQLite: Updated hooks for database open and close.

Change-Id: I38135eaed3b5e66ef302eb0337f1bf3ba9f184d7
Merge branch 'cm-10.2' of https://github.com/CyanogenMod/android_external_sqlite into jb4.3