WIP #611: fix the SQLite Update
Also fixes some bugs with the sqlite class
Merge remote-tracking branch 'upstream/feature' into fix-611-feature
Merge remote-tracking branch 'upstream/feature' into fix-611-feature
Missed dropping the spamlog table
Big round of updates - hopefully the update is now working
Fixes PgSQL Installation
Fixes SQLite Installation
Merge pull request #1092 from JN-Jones/fix-611-feature

Fixes #611