Bugfix: invalid SQL results in type error
Allow for REPLACE queries
SQL error masked by TypeError
Merge remote-tracking branch 'upstream/master'

Conflicts:
	index.js
bugfix using SQLite3 with connection pool
Merge pull request #3 from rogierschouten/deadlock-on-close

Deadlock on close