Fixed the (disabled) logging of SQLite features at launch

This code is useful for checking what SQLite features are enabled in the OS.
I also added a line that logs the current SQLite version number.