sqlite3: make innerclass refid non-transient

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
sqlite3: add memberdef initializer

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
sqlite3: call sqlite3_clear_bindings() on incomplete statement

some statements are not evaluated, for example when
doing return before step().
in this case, some fields leaks to the next successfull statement.

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>