Prepare a SQLite statement from a SQL string
If @arguments is non-null, it will call bind()
| db | SQLite database this cursor belongs to | 
| sql | statement to execute | 
| arguments | array of values to bind to the SQL statement or null if none |