Turned Sqlite into a proper class.
Fixed some mistakes.
Merge pull request #33 from liip/sqlite3

Sqlite3