Fix segfault due to initialization order of logging vs. database libraries.
Fix segfault due to initialization order of logging vs. database libraries.

Logging facilities were being initialized after DcmDatabaseConnection
was initialized. As a result, function-local static objects within the
jewel::Log library were being destructed *before* the final call to
those logging facilities took place within a destructor involved in
finalizing the SQLite library, which itself is called as a result
of a function-local static object being destructed in the Sqloxx
library.

This commit fixes the problem by initializing the logging library
before initializing the database connection.

skybaboon/dailycashmanager,skybaboon/dailycashmanager,skybaboon/dailycashmanager