Make SQLiteDatabase a static class.

This has some nasty implications at the moment, most noticably that the integration tests don't work anymore because they can't switch on a different file location. Long-term, these tests need to be unit tests and won't depend on database location anyway. Short-term, you can change the path when you want to run tests.