sqlite3: make it possible to set text_factory upon initialization, including tests
Merge pull request #8 from abbbi/master

sqlite3: make it possible to set text_factory upon initialization