add SQLite facilities

from https://github.com/biozic/d2sqlite3
Boost Licence