Replace sqlite3_prepare with sqlite3_prepare_v2

SQLite3 manual suggests: the sqlite3_prepare_v2() and sqlite3_prepare16_v2() interfaces are recommended for all new programs.
Fixes #188
Merge pull request #191 from mloskot/sqlite3-prepare-v2

Replace sqlite3_prepare with sqlite3_prepare_v2