SQLITE_OPEN_CREATE should be specified for sqlite3_open_v2 if mode is not rw
SQLITE_OPEN_CREATE should be specified for sqlite3_open_v2 if mode is not rw

Fixes #667
Fixes #669

lyonel/go-sqlite3,mattn/go-sqlite3,lyonel/go-sqlite3,xeodou/go-sqlcipher,lyonel/go-sqlite3,mattn/go-sqlite3,mattn/go-sqlite3,xeodou/go-sqlcipher,xeodou/go-sqlcipher