Update dependencies for sqlite testing
This updates updates many dependencies, and makes the changes required to start using sqflite_common_ffi
which we need for unit testing the database. Most code changes are required because of updating the linter.
Edited by Harpo