Making some more sqlite function use prepared statements
when you delete a game it now removes all of the checkpoints associated with that game
fixing a few tests