sped up adding events in bulk when clients connect
sped up adding events in bulk when clients connect

by following SQLite3 best practices and wrapping the inserts in a
transaction

Coldarn/twiceover-server,Coldarn/twiceover-server