Fix issue with sqlite not storing literals properly.
Parameters are encoded strings, not Unicode.
Logger should be configured by the calling code
Remove reference to cursor and "low-level" DB-API interface. Clean some related dead code
Remove auto commit specific management since it is handled by sqlalchemy transaction support
Remove cursor use in diagnostic method not covered by tests
- add database table creation using sqlalchemy syntax
- improve on connection management
- add test for problem of encoding problem in xml source
Replace sql "INSERT" by sqlalchemy insert clause
Propagate the fix to the py3compat version.
finalize switch to sqlalchemy query.
Improve support for python3 (3.3).