add using open_db/close_db to project
1. add struct add_motion_sql_clause to src/sqlite_utils.h
2. unsolved problem: how to judge whether a table exists
   in a database ?