Clean up SQLiteDB

Much of the code in there is not really needed anymore as quite a bit of
functionality has been moved to the SqliteTableModel.