refactor(Tournament#log): better logging function

Single logging function for the entire back-end: Tournament#log. The
function persists the logs to disk with nedb-logger, and prints debug
messages to the console.