Add event logger with database logging and macros
Introduce an EventLogger that logs to stdout and optionally to the database.
Replace println!/eprintln! in client_communication.rs and database.rs with
logging macros (info_elog!, warn_elog!, error_elog!, etc). Add logs table
creation for both SQLite and Postgres. Update dependencies for chrono.