Add a new SQLite backend

This is lacking the hacky changes I had to make to the test runners since those changes broke all the other backends.
can remove all of the rest of this if you order by time and filter out all events with ID < start_id