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
Add hooks for database open and pragma handling

Change-Id: I0c1843a1c17e6cb7786ea5c66d229282b1fa0d32

SQLite: Updated hooks for database open and close.

Change-Id: I38135eaed3b5e66ef302eb0337f1bf3ba9f184d7

Leave out magic perf code unless requested

Change-Id: I154e288e440abd70dd4eec590150be1e800efac9
Do not pass QC_PERF into host build of sqlite3.

Change-Id: I1ea8c434e2996ae5b5197c5dafb5f868aa485d87
Regenerate Android.patch

Android.patch was out-of-date

Regenerate with README-Android

Change-Id: Iab0765f67eeacc1282d495250ced6b8d0f1c156c
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
Upgrade to SQLite 3.8.6

Downloaded from http://www.sqlite.org/2014/sqlite-amalgamation-3080600.zip

Change-Id: I02ae188e741697f6755ffc607cdb471bcdd2915f
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>