Upgrade to SQLite 3.8.0

* All pertinent patches to Android after
the Android.patch in history have been
re-applied.
* The Android.patch has been re-generated.
* An old, original file that's no longer
patched was removed.

Change-Id: Ifb391df495eec770e1ecaa98d87d0643bf573ce5

Conflicts:
	dist/sqlite3.c
Revert "Upgrade to SQLite 3.8.0"

This reverts commit bb942a58f313171830fbb842b76e63298d07d7d0.
Enable SQLite stat3 for better query optimization

SQLITE_ENABLE_STAT3 compile option is added for better query
optimization with "ANALYZE" command.

Change-Id: Icc6ce764c65f9ba4a6287a24fe444032352e19f3
Enable Fdatasync