Use Database.SQLite.Simple directly

- Add withDb helper function that can be used to call db actions with
  an open connection.

- Clean up Db module to not use Snaplet db helper functions