Add collecting statistics about ingame events

Using the library ORMLite to persist the data to database. This is also a
test, whether it is performant or not.

Add a generic way to queue up data before persisting.

This is just a little test for further features.