Added sqlite3 support
Updates according to new api
Authored by: artyom-beilis 2008-12-01
Parent: [r575]
Child: [r577]