Use _v2 APIs for SQLite version 3.6.13 and above.
Merge pull request #8 from ignacio/open_prepare_v2

Use _v2 APIs for SQLite version 3.6.13 and above.