Configure logging to easily output debug data.

- Add tracer and chalk to package.json.
- Add log module.
- Configure logging for model methods, middleware, API routes, and main
  file.