Fix world-readable permissions due to sqlite race condition

Existing code uses umask() to temporarily modify the file permissions for
open(). A race condition can occur where a second thread reads in the
temporary value, saves it, and then restores the file to the temporary value
resulting in world-readable permissions. Backporting a known fix:
http://www.sqlite.org/src/info/6c4c2b7dba

Bug: 15288755
Change-Id: I89779f3a5ba0bec181d6614b29b1e26ea4f4f049
Revert "Fix world-readable permissions due to sqlite race condition"

This reverts commit 7a61b96d0ba02583458e0ef2a9a0274eff3daebf.
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>

Patchset: 1
http://review.cyanogenmod.org/#/c/72647/
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>

Patchset: 1
http://review.cyanogenmod.org/#/c/72648/