prevent concurrent use of insert prepared statemnt
make sqlite3_threadsafe available
Merge pull request #290 from nachocove/safeinsert

Merge pull request #290