Properly split SQL script; fixes #47

This adds support for single quote string delimiters (as is the default with SQLite's own .dump command) and for escaped delimiters inside strings.