Refactoring of SqliteDB + tests, slight renaming of BagpipesDatabase functions.
Added logging to SqliteDB, more documentation.
Everything compiles, database tests passing