Do sqlite3_reset after SQL command

sqlite3 returns SQLITE_BUSY if libchewing does not call sqlite3_reset
after sqlite3_step.