support for batch insert in sqlite older than 3.7.11
Merge pull request #1309 from nineinchnick/batch-insert

support for batch insert in sqlite older than 3.7.11