Enable SQLite stat3 for better query optimization

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

Test Plan: verified

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D392